Class ResourceTypeImpl
- java.lang.Object
-
- org.gcube.informationsystem.types.impl.TypeImpl
-
- org.gcube.informationsystem.types.impl.entities.EntityTypeImpl
-
- org.gcube.informationsystem.types.impl.entities.ResourceTypeImpl
-
- All Implemented Interfaces:
Serializable,Element,EntityElement,IdentifiableElement,EntityType,ResourceType,Type
public final class ResourceTypeImpl extends EntityTypeImpl implements ResourceType
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<LinkedEntity>facetsprotected List<LinkedEntity>resources-
Fields inherited from class org.gcube.informationsystem.types.impl.entities.EntityTypeImpl
metadata
-
Fields inherited from class org.gcube.informationsystem.types.impl.TypeImpl
abstractType, changelog, DEFAULT_CHANGELOG_MAP, description, extendedTypes, finalClass, name, properties, uuid, version
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.types.reference.entities.EntityType
NAME
-
Fields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.types.reference.entities.ResourceType
FACETS_PROPERTY, NAME, RESOURCES_PROPERTY
-
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 protectedResourceTypeImpl()ResourceTypeImpl(Class<? extends Resource> clz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTypegetAccessType()List<LinkedEntity>getFacets()List<LinkedEntity>getResources()-
Methods inherited from class org.gcube.informationsystem.types.impl.entities.EntityTypeImpl
getEntityTypeDefinitionInstance, getMetadata, setMetadata, toString
-
Methods inherited from class org.gcube.informationsystem.types.impl.TypeImpl
getChangelog, getChangelogWithVersionAsString, getDescription, getExtendedTypes, getGenericClass, getID, getInstance, getName, getProperties, getTypeName, getVersion, getVersionAsString, isAbstract, isFinal, retrieveListOfProperties, retrieveSuperClasses, setChangelog, setID, 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.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadata
-
Methods inherited from interface org.gcube.informationsystem.types.reference.entities.EntityType
getDescription, getExtendedTypes, getName, isAbstract
-
Methods inherited from interface org.gcube.informationsystem.types.reference.Type
getChangelog, getChangelogWithVersionAsString, getID, getMetadata, getProperties, getVersion, getVersionAsString, isFinal, setID, setMetadata
-
-
-
-
Field Detail
-
facets
protected List<LinkedEntity> facets
-
resources
protected List<LinkedEntity> resources
-
-
Method Detail
-
getFacets
public List<LinkedEntity> getFacets()
- Specified by:
getFacetsin interfaceResourceType
-
getResources
public List<LinkedEntity> getResources()
- Specified by:
getResourcesin interfaceResourceType
-
getAccessType
public AccessType getAccessType()
- Specified by:
getAccessTypein interfaceType- Overrides:
getAccessTypein classEntityTypeImpl
-
-