Class STPropertiesSchema
java.lang.Object
it.uniroma2.art.semanticturkey.properties.dynamic.STPropertiesSchema
- All Implemented Interfaces:
Settings
,STProperties
A schema for an
STProperties
object. It should be used together with the annotation Schema
to implement dynamically typed properties fields.- Author:
- Manuel Fiorelli
-
Nested Class Summary
Nested classes/interfaces inherited from interface it.uniroma2.art.semanticturkey.properties.STProperties
STProperties.BasicPropertiesConstraints, STProperties.BasicPropertyConstraintValidator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class<?>
makeContainerClass
(String container) protected Class<?>
makeElementType
(String typeName) Returns anSTProperties
object that conforms to this schemaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface it.uniroma2.art.semanticturkey.properties.STProperties
checkAndConvertPropertyValue, convertToPropertValue, getAnnotations, getEnumeration, getHTMLDescription, getHTMLWarning, getProperties, getPropertyAnnotatedType, getPropertyContentType, getPropertyDescription, getPropertyDisplayName, getPropertyType, getPropertyValue, getStringRepresentation, hasRequiredProperties, isEnumerated, isRequiredProperty, loadProperties, setProperties, setPropertyValue, storeProperties, storeProperties
-
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
- Specified by:
getShortName
in interfaceSTProperties
- Returns:
- a humanly understandable short name representing the type of this property set
-
toSTProperties
Returns anSTProperties
object that conforms to this schema- Returns:
-
makeContainerClass
-
makeElementType
-