Class PropertySchemaImpl
java.lang.Object
org.gcube.informationsystem.types.impl.TypeImpl
org.gcube.informationsystem.types.impl.properties.PropertySchemaImpl
- All Implemented Interfaces:
Serializable,Element,IdentifiableElement,PropertyElement,PropertySchema,Type
The default implementation of the
PropertySchema interface.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Field Summary
FieldsFields inherited from class org.gcube.informationsystem.types.impl.TypeImpl
abstractType, additionalProperties, changelog, DEFAULT_CHANGELOG_MAP, description, extendedTypes, finalClass, locked, metadata, name, uuid, versionFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, REDACTED, TYPE_PROPERTY, UNKNOWN_USERFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.types.reference.properties.PropertySchema
NAMEFields inherited from interface org.gcube.informationsystem.types.reference.Type
ABSTRACT_PROPERTY, CHANGELOG_PROPERTY, DESCRIPTION_PROPERTY, EXTENDED_TYPES_PROPERTY, FINAL_PROPERTY, LOCKED_PROPERTY, NAME, NAME_PROPERTY, PROPERTIES_PROPERTY, VERSION_PROPERTY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor.PropertySchemaImpl(Class<? extends PropertyElement> clz) Constructs a new PropertySchemaImpl 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
getAdditionalProperties, getChangelog, getChangelogWithVersionAsString, getDescription, getExtendedTypes, getGenericClass, getID, getInstance, getMetadata, getName, getTypeName, getVersion, getVersionAsString, isAbstract, isFinal, isLocked, retrieveListOfProperties, retrieveSuperClasses, setAdditionalProperty, setChangelog, setExtendedTypes, setID, setLocked, 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.PropertySchema
getDescription, getExtendedTypes, getID, getMetadata, getName, isAbstract, setID, setMetadataMethods inherited from interface org.gcube.informationsystem.types.reference.Type
getAdditionalProperties, getChangelog, getChangelogWithVersionAsString, getVersion, getVersionAsString, isFinal, isLocked, setAdditionalProperty, setExtendedTypes, setLocked
-
Field Details
-
properties
The properties of this type.
-
-
Constructor Details
-
PropertySchemaImpl
protected PropertySchemaImpl()Default constructor. -
PropertySchemaImpl
Constructs a new PropertySchemaImpl from a class.- Parameters:
clz- the class
-
-
Method Details
-
getProperties
Gets the properties of the type.- Specified by:
getPropertiesin interfacePropertySchema- 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
-