Class PropertyTypeImpl
java.lang.Object
org.gcube.informationsystem.types.impl.TypeImpl
org.gcube.informationsystem.types.impl.properties.PropertyTypeImpl
- All Implemented Interfaces:
Serializable,Element,IdentifiableElement,PropertyElement,PropertyType,Type
The default implementation of the
PropertyType interface.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Field Summary
FieldsFields inherited from class org.gcube.informationsystem.types.impl.TypeImpl
abstractType, changelog, DEFAULT_CHANGELOG_MAP, description, extendedTypes, finalClass, metadata, name, uuid, versionFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.types.reference.properties.PropertyType
NAMEFields inherited from interface org.gcube.informationsystem.types.reference.Type
ABSTRACT_PROPERTY, CHANGELOG_PROPERTY, DESCRIPTION_PROPERTY, EXTENDED_TYPES_PROPERTY, FINAL_PROPERTY, NAME, NAME_PROPERTY, PROPERTIES_PROPERTY, VERSION_PROPERTY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor.PropertyTypeImpl(Class<? extends PropertyElement> clz) Constructs a new PropertyTypeImpl from a class. -
Method Summary
Modifier and TypeMethodDescriptionReturns theAccessTypeof this type definition.Gets the properties of the type.toString()Methods inherited from class org.gcube.informationsystem.types.impl.TypeImpl
getChangelog, getChangelogWithVersionAsString, getDescription, getExtendedTypes, getGenericClass, getID, getInstance, getMetadata, getName, getTypeName, getVersion, getVersionAsString, isAbstract, isFinal, retrieveListOfProperties, retrieveSuperClasses, setChangelog, setID, setMetadata, setVersionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.types.reference.properties.PropertyType
getDescription, getExtendedTypes, getID, getMetadata, getName, isAbstract, setID, setMetadataMethods inherited from interface org.gcube.informationsystem.types.reference.Type
getChangelog, getChangelogWithVersionAsString, getVersion, getVersionAsString, isFinal
-
Field Details
-
properties
The properties of this type.
-
-
Constructor Details
-
PropertyTypeImpl
protected PropertyTypeImpl()Default constructor. -
PropertyTypeImpl
Constructs a new PropertyTypeImpl from a class.- Parameters:
clz- the class
-
-
Method Details
-
getProperties
Gets the properties of the type.- Specified by:
getPropertiesin interfacePropertyType- Specified by:
getPropertiesin interfaceType- Overrides:
getPropertiesin classTypeImpl- Returns:
- the properties of the type
-
getAccessType
Returns theAccessTypeof this type definition.- Specified by:
getAccessTypein interfaceType- Overrides:
getAccessTypein classTypeImpl- Returns:
- The access type.
-
toString
-