Class AbstractPluginConfiguration
java.lang.Object
it.uniroma2.art.semanticturkey.properties.STPropertiesImpl
it.uniroma2.art.semanticturkey.plugin.configuration.AbstractPluginConfiguration
- All Implemented Interfaces:
STProperties
Abstract base class of plugin configuration objects supporting additional properties (in addition to the
ones defined as annotated 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
FieldsFields inherited from interface it.uniroma2.art.semanticturkey.properties.STProperties
ITERABLE_OF_STRINGS_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns all the properties of the class implementing this interface, which have been annotated asSTPropertygetPropertyContentType(String parID) get the expected type of content for the property.this method returns the description of a propertythis method returns the displayName of a property.gets the value of a property previously set on this set of propertiesbooleanisRequiredProperty(String parID) voidsetPropertyValue(String id, Object value) Methods inherited from class it.uniroma2.art.semanticturkey.properties.STPropertiesImpl
convertToPropertValue, getEnumeration, hasRequiredProperties, isEnumerated, loadProperties, setProperties, storeProperties, storeProperties, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface it.uniroma2.art.semanticturkey.properties.STProperties
checkAndConvertPropertyValue, convertToPropertyValue, getAnnotations, getEnumeration, getHTMLDescription, getHTMLWarning, getPropertyDefaultValue, getPropertyType, getShortName, getStringRepresentation, hasRequiredProperties, isEditRequired, isEnumerated, isParameterProperty, loadProperties, setProperties, storeProperties, storeProperties
-
Field Details
-
additionalConfigurationParameters
-
-
Constructor Details
-
AbstractPluginConfiguration
protected AbstractPluginConfiguration()
-
-
Method Details
-
getProperties
Description copied from interface:STPropertiesreturns all the properties of the class implementing this interface, which have been annotated asSTProperty- Specified by:
getPropertiesin interfaceSTProperties- Overrides:
getPropertiesin classSTPropertiesImpl- Returns:
-
getPropertyDisplayName
Description copied from interface:STPropertiesthis method returns the displayName of a property. If not provided, return the property name- Specified by:
getPropertyDisplayNamein interfaceSTProperties- Returns:
- Throws:
PropertyNotFoundException
-
getPropertyValue
Description copied from interface:STPropertiesgets the value of a property previously set on this set of properties- Specified by:
getPropertyValuein interfaceSTProperties- Overrides:
getPropertyValuein classSTPropertiesImpl- Returns:
- Throws:
PropertyNotFoundException
-
setPropertyValue
- Specified by:
setPropertyValuein interfaceSTProperties- Overrides:
setPropertyValuein classSTPropertiesImpl- Throws:
WrongPropertiesException
-
getPropertyAnnotatedType
- Specified by:
getPropertyAnnotatedTypein interfaceSTProperties- Throws:
PropertyNotFoundException
-
getPropertyContentType
Description copied from interface:STPropertiesget the expected type of content for the property. Can be used by external tools to drive the acquisition of that value or to check- Specified by:
getPropertyContentTypein interfaceSTProperties- Overrides:
getPropertyContentTypein classSTPropertiesImpl- Returns:
- Throws:
PropertyNotFoundException
-
isRequiredProperty
- Specified by:
isRequiredPropertyin interfaceSTProperties- Overrides:
isRequiredPropertyin classSTPropertiesImpl- Throws:
PropertyNotFoundException
-
getPropertyDescription
Description copied from interface:STPropertiesthis method returns the description of a property- Specified by:
getPropertyDescriptionin interfaceSTProperties- Overrides:
getPropertyDescriptionin classSTPropertiesImpl- Returns:
- Throws:
PropertyNotFoundException
-