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
public final class PropertyTypeImpl extends TypeImpl implements PropertyType
The default implementation of thePropertyTypeinterface.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<PropertyDefinition>propertiesThe properties of this type.-
Fields inherited from class org.gcube.informationsystem.types.impl.TypeImpl
abstractType, changelog, DEFAULT_CHANGELOG_MAP, description, extendedTypes, finalClass, metadata, name, uuid, version
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.types.reference.properties.PropertyType
NAME
-
Fields 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
Constructors Modifier Constructor Description protectedPropertyTypeImpl()Default constructor.PropertyTypeImpl(Class<? extends PropertyElement> clz)Constructs a new PropertyTypeImpl from a class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTypegetAccessType()Returns theAccessTypeof this type definition.Set<PropertyDefinition>getProperties()Gets the properties of the type.StringtoString()-
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, setVersion
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeName
-
Methods inherited from interface org.gcube.informationsystem.types.reference.properties.PropertyType
getDescription, getExtendedTypes, getID, getMetadata, getName, isAbstract, setID, setMetadata
-
Methods inherited from interface org.gcube.informationsystem.types.reference.Type
getChangelog, getChangelogWithVersionAsString, getVersion, getVersionAsString, isFinal
-
-
-
-
Field Detail
-
properties
protected Set<PropertyDefinition> properties
The properties of this type.
-
-
Constructor Detail
-
PropertyTypeImpl
protected PropertyTypeImpl()
Default constructor.
-
PropertyTypeImpl
public PropertyTypeImpl(Class<? extends PropertyElement> clz)
Constructs a new PropertyTypeImpl from a class.- Parameters:
clz- the class
-
-
Method Detail
-
getProperties
public Set<PropertyDefinition> 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
public AccessType getAccessType()
Returns theAccessTypeof this type definition.- Specified by:
getAccessTypein interfaceType- Overrides:
getAccessTypein classTypeImpl- Returns:
- The access type.
-
-