Interface RelationType<S extends EntityType,T extends EntityType>
-
- All Superinterfaces:
Element,IdentifiableElement,RelationElement<S,T>,Serializable,Type
- All Known Subinterfaces:
ConsistsOfType,IsRelatedToType
- All Known Implementing Classes:
ConsistsOfTypeImpl,IsRelatedToTypeImpl,RelationTypeImpl
@TypeMetadata(name="RelationType", description="This type provides information for any RelationType", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface RelationType<S extends EntityType,T extends EntityType> extends Type, RelationElement<S,T>
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAME-
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.base.reference.relations.RelationElement
SOURCE_PROPERTY, TARGET_PROPERTY
-
Fields 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Set<String>getExtendedTypes()StringgetName()Set<PropertyDefinition>getProperties()SgetSource()TgetTarget()booleanisAbstract()-
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeName
-
Methods inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement
getID, getMetadata, setID, setMetadata, setSource, setTarget
-
Methods inherited from interface org.gcube.informationsystem.types.reference.Type
getAccessType, getChangelog, getChangelogWithVersionAsString, getID, getMetadata, getVersion, getVersionAsString, isFinal, setID, setMetadata
-
-
-
-
Field Detail
-
NAME
static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
@ISProperty(name="description", readonly=false, mandatory=true, nullable=false) String getDescription()
- Specified by:
getDescriptionin interfaceType
-
isAbstract
@ISProperty(name="abstract", readonly=true, mandatory=true, nullable=false) boolean isAbstract()
- Specified by:
isAbstractin interfaceType
-
getExtendedTypes
@ISProperty(name="extendedTypes", readonly=true, mandatory=true, nullable=false) Set<String> getExtendedTypes()
- Specified by:
getExtendedTypesin interfaceType
-
getProperties
@ISProperty(name="properties", readonly=false, mandatory=true, nullable=false) Set<PropertyDefinition> getProperties()
- Specified by:
getPropertiesin interfaceType
-
getSource
S getSource()
- Specified by:
getSourcein interfaceRelationElement<S extends EntityType,T extends EntityType>
-
getTarget
T getTarget()
- Specified by:
getTargetin interfaceRelationElement<S extends EntityType,T extends EntityType>
-
-