Class STPropertiesSchema

java.lang.Object
it.uniroma2.art.semanticturkey.properties.dynamic.STPropertiesSchema
All Implemented Interfaces:
Settings, STProperties

public class STPropertiesSchema extends Object implements Settings
A schema for an STProperties object. It should be used together with the annotation Schema to implement dynamically typed properties fields.
Author:
Manuel Fiorelli
  • Field Details

    • properties

      @STProperty(description="{it.uniroma2.art.semanticturkey.properties.STPropertiesSchema.properties.description}", displayName="{it.uniroma2.art.semanticturkey.properties.STPropertiesSchema.properties.displayName}") public List<STPropertySchema> properties
  • Constructor Details

    • STPropertiesSchema

      public STPropertiesSchema()
  • Method Details

    • getShortName

      public String getShortName()
      Specified by:
      getShortName in interface STProperties
      Returns:
      a humanly understandable short name representing the type of this property set
    • toSTProperties

      public STProperties toSTProperties()
      Returns an STProperties object that conforms to this schema
      Returns:
    • makeContainerClass

      protected Class<?> makeContainerClass(String container)
    • makeElementType

      protected Class<?> makeElementType(String typeName)