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 class 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
CLASS_PROPERTY, DATETIME_PATTERN, SUPERCLASSES_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
HEADER_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, FINAL_PROPERTY, NAME_PROPERTY, PROPERTIES_PROPERTY, TYPE_SUPERCLASSES_PROPERTY, VERSION_PROPERTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()StringgetName()Set<PropertyDefinition>getProperties()SgetSource()Set<String>getSuperClasses()TgetTarget()booleanisAbstract()-
Methods inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
setHeader
-
Methods inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement
getHeader, setSource, setTarget
-
Methods inherited from interface org.gcube.informationsystem.types.reference.Type
getAccessType, getChangelog, getChangelogWithVersionAsString, getVersion, getVersionAsString, isFinal
-
-
-
-
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
-
getSuperClasses
@ISProperty(name="superClasses", readonly=true, mandatory=true, nullable=false) Set<String> getSuperClasses()
- Specified by:
getSuperClassesin 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>
-
-