Interface ResourceType
- All Superinterfaces:
Element,EntityElement,EntityType,IdentifiableElement,Serializable,Type
- All Known Implementing Classes:
ResourceTypeImpl
@TypeMetadata(name="ResourceType",
description="This type provides information for the definition of any ResourceType",
version="1.0.0")
@Change(version="1.0.0",
description="First Version")
public interface ResourceType
extends EntityType
Defines the type of a
Resource.- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe property name for the facets.static final StringThe name of the ResourceType.static final StringThe property name for the related resources.Fields 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.Type
ABSTRACT_PROPERTY, CHANGELOG_PROPERTY, DESCRIPTION_PROPERTY, EXTENDED_TYPES_PROPERTY, FINAL_PROPERTY, NAME_PROPERTY, PROPERTIES_PROPERTY, VERSION_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of facets associated with this resource type.Returns the list of related resources for this resource type.Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.base.reference.entities.EntityElement
getID, getMetadata, setID, setMetadataMethods inherited from interface org.gcube.informationsystem.types.reference.entities.EntityType
getDescription, getExtendedTypes, getName, isAbstractMethods inherited from interface org.gcube.informationsystem.types.reference.Type
getAccessType, getChangelog, getChangelogWithVersionAsString, getID, getMetadata, getProperties, getVersion, getVersionAsString, isFinal, setID, setMetadata
-
Field Details
-
NAME
The name of the ResourceType.- See Also:
-
FACETS_PROPERTY
The property name for the facets.- See Also:
-
RESOURCES_PROPERTY
The property name for the related resources.- See Also:
-
-
Method Details
-
getFacets
@ISProperty(name="facets", readonly=false, mandatory=true, nullable=false) List<LinkedEntity> getFacets()Returns the list of facets associated with this resource type.- Returns:
- A list of
LinkedEntityobjects representing the facets.
-
getResources
@ISProperty(name="resources", readonly=false, mandatory=true, nullable=false) List<LinkedEntity> getResources()Returns the list of related resources for this resource type.- Returns:
- A list of
LinkedEntityobjects representing the related resources.
-