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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreturns all the properties of the class implementing this interface, which have been annotated asSTProperty
getPropertyContentType
(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 propertiesboolean
isRequiredProperty
(String parID) void
setPropertyValue
(String id, Object value) Methods inherited from class it.uniroma2.art.semanticturkey.properties.STPropertiesImpl
convertToPropertValue, getEnumeration, hasRequiredProperties, isEnumerated, loadProperties, setProperties, storeProperties, storeProperties, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface it.uniroma2.art.semanticturkey.properties.STProperties
checkAndConvertPropertyValue, convertToPropertValue, getAnnotations, getEnumeration, getHTMLDescription, getHTMLWarning, getPropertyType, getShortName, getStringRepresentation, hasRequiredProperties, isEnumerated, loadProperties, setProperties, storeProperties, storeProperties
-
Field Details
-
additionalConfigurationParameters
-
-
Constructor Details
-
AbstractPluginConfiguration
protected AbstractPluginConfiguration()
-
-
Method Details
-
getProperties
Description copied from interface:STProperties
returns all the properties of the class implementing this interface, which have been annotated asSTProperty
- Specified by:
getProperties
in interfaceSTProperties
- Overrides:
getProperties
in classSTPropertiesImpl
- Returns:
-
getPropertyDisplayName
Description copied from interface:STProperties
this method returns the displayName of a property. If not provided, return the property name- Specified by:
getPropertyDisplayName
in interfaceSTProperties
- Returns:
- Throws:
PropertyNotFoundException
-
getPropertyValue
Description copied from interface:STProperties
gets the value of a property previously set on this set of properties- Specified by:
getPropertyValue
in interfaceSTProperties
- Overrides:
getPropertyValue
in classSTPropertiesImpl
- Returns:
- Throws:
PropertyNotFoundException
-
setPropertyValue
- Specified by:
setPropertyValue
in interfaceSTProperties
- Overrides:
setPropertyValue
in classSTPropertiesImpl
- Throws:
WrongPropertiesException
-
getPropertyAnnotatedType
- Specified by:
getPropertyAnnotatedType
in interfaceSTProperties
- Throws:
PropertyNotFoundException
-
getPropertyContentType
Description copied from interface:STProperties
get 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:
getPropertyContentType
in interfaceSTProperties
- Overrides:
getPropertyContentType
in classSTPropertiesImpl
- Returns:
- Throws:
PropertyNotFoundException
-
isRequiredProperty
- Specified by:
isRequiredProperty
in interfaceSTProperties
- Overrides:
isRequiredProperty
in classSTPropertiesImpl
- Throws:
PropertyNotFoundException
-
getPropertyDescription
Description copied from interface:STProperties
this method returns the description of a property- Specified by:
getPropertyDescription
in interfaceSTProperties
- Overrides:
getPropertyDescription
in classSTPropertiesImpl
- Returns:
- Throws:
PropertyNotFoundException
-