Interface PropertyDefinition
-
- All Superinterfaces:
Comparable<PropertyDefinition>,Element,PropertyElement,Serializable
- All Known Implementing Classes:
PropertyDefinitionImpl
@TypeMetadata(name="PropertyDefinition", description="This type provides information for the definition of any properties", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface PropertyDefinition extends PropertyElement, Comparable<PropertyDefinition>
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringDESCRIPTION_PROPERTYstatic StringMANDATORY_PROPERTYstatic StringMAX_PROPERTYstatic StringMIN_PROPERTYstatic StringNAMEstatic StringNAME_PROPERTYstatic StringNOT_NULL_PROPERTYstatic StringPROPERTY_TYPE_PROPERTYstatic StringREAD_ONLY_PROPERTYstatic StringREGEX_PROPERTY-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()IntegergetMax()IntegergetMin()StringgetName()StringgetPropertyType()StringgetRegexp()booleanisMandatory()booleanisNotnull()booleanisReadonly()-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeName
-
-
-
-
Field Detail
-
NAME
static final String NAME
- See Also:
- Constant Field Values
-
NAME_PROPERTY
static final String NAME_PROPERTY
- See Also:
- Constant Field Values
-
DESCRIPTION_PROPERTY
static final String DESCRIPTION_PROPERTY
- See Also:
- Constant Field Values
-
MANDATORY_PROPERTY
static final String MANDATORY_PROPERTY
- See Also:
- Constant Field Values
-
READ_ONLY_PROPERTY
static final String READ_ONLY_PROPERTY
- See Also:
- Constant Field Values
-
NOT_NULL_PROPERTY
static final String NOT_NULL_PROPERTY
- See Also:
- Constant Field Values
-
MAX_PROPERTY
static final String MAX_PROPERTY
- See Also:
- Constant Field Values
-
MIN_PROPERTY
static final String MIN_PROPERTY
- See Also:
- Constant Field Values
-
REGEX_PROPERTY
static final String REGEX_PROPERTY
- See Also:
- Constant Field Values
-
PROPERTY_TYPE_PROPERTY
static final String PROPERTY_TYPE_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
@ISProperty(name="description", readonly=false, mandatory=true, nullable=false) String getDescription()
-
isMandatory
@ISProperty(name="mandatory", readonly=false, mandatory=true, nullable=false) boolean isMandatory()
-
isReadonly
@ISProperty(name="readonly", readonly=false, mandatory=true, nullable=false) boolean isReadonly()
-
isNotnull
@ISProperty(name="notnull", readonly=false, mandatory=true, nullable=false) boolean isNotnull()
-
getRegexp
@ISProperty(name="regexp", readonly=false, mandatory=true, nullable=false) String getRegexp()
-
-