Interface TypedProperty<T,V>
-
- All Known Subinterfaces:
EnumStringProperty,RegexProperty,ValidatedTypedProperty<T,V>,ValueSchema
- All Known Implementing Classes:
EnumStringPropertyImpl,RegexPropertyImpl,ValueSchemaImpl
public interface TypedProperty<T,V>- Author:
- Manuele Simi (ISTI - CNR)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetSchema()Gets the schema of the property.VgetValue()Gets the value of the property.voidsetSchema(T type)Sets the schema of the property.voidsetValue(V value)Sets the value of the property.
-
-
-
Method Detail
-
getValue
V getValue()
Gets the value of the property.- Returns:
- the value
-
setValue
void setValue(V value)
Sets the value of the property.- Parameters:
value- the new value
-
getSchema
T getSchema()
Gets the schema of the property.- Returns:
- the schema
-
setSchema
void setSchema(T type)
Sets the schema of the property.- Parameters:
type- the new schema
-
-