Interface Type
-
- All Superinterfaces:
Element,IdentifiableElement,Serializable
- All Known Subinterfaces:
ConsistsOfType,EntityType,FacetType,IsRelatedToType,PropertyType<P>,RelationType<S,T>,ResourceType
- All Known Implementing Classes:
ConsistsOfTypeImpl,EntityTypeImpl,FacetTypeImpl,IsRelatedToTypeImpl,PropertyTypeImpl,RelationTypeImpl,ResourceTypeImpl,TypeImpl
@TypeMetadata(name="Type", description="This is the base type to define any Type", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface Type extends IdentifiableElement
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringABSTRACT_PROPERTYstatic StringCHANGELOG_PROPERTYstatic StringDESCRIPTION_PROPERTYstatic StringEXTENDED_TYPES_PROPERTYstatic StringFINAL_PROPERTYstatic StringNAMEstatic StringNAME_PROPERTYstatic StringPROPERTIES_PROPERTYstatic StringVERSION_PROPERTY-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessTypegetAccessType()Map<Version,String>getChangelog()Map<String,String>getChangelogWithVersionAsString()StringgetDescription()Set<String>getExtendedTypes()UUIDgetID()MetadatagetMetadata()StringgetName()Set<PropertyDefinition>getProperties()VersiongetVersion()StringgetVersionAsString()booleanisAbstract()booleanisFinal()voidsetID(UUID uuid)voidsetMetadata(Metadata metadata)-
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
-
VERSION_PROPERTY
static final String VERSION_PROPERTY
- See Also:
- Constant Field Values
-
CHANGELOG_PROPERTY
static final String CHANGELOG_PROPERTY
- See Also:
- Constant Field Values
-
ABSTRACT_PROPERTY
static final String ABSTRACT_PROPERTY
- See Also:
- Constant Field Values
-
FINAL_PROPERTY
static final String FINAL_PROPERTY
- See Also:
- Constant Field Values
-
EXTENDED_TYPES_PROPERTY
static final String EXTENDED_TYPES_PROPERTY
- See Also:
- Constant Field Values
-
PROPERTIES_PROPERTY
static final String PROPERTIES_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getID
UUID getID()
- Specified by:
getIDin interfaceIdentifiableElement
-
setID
void setID(UUID uuid)
- Specified by:
setIDin interfaceIdentifiableElement
-
getMetadata
Metadata getMetadata()
- Specified by:
getMetadatain interfaceIdentifiableElement
-
setMetadata
void setMetadata(Metadata metadata)
- Specified by:
setMetadatain interfaceIdentifiableElement
-
getName
String getName()
-
getDescription
String getDescription()
-
getVersion
Version getVersion()
-
getVersionAsString
String getVersionAsString()
-
isAbstract
boolean isAbstract()
-
isFinal
boolean isFinal()
-
getProperties
Set<PropertyDefinition> getProperties()
-
getAccessType
AccessType getAccessType()
-
-