java.lang.Object
org.gcube.informationsystem.base.impl.ElementImpl
org.gcube.informationsystem.base.impl.relations.RelationElementImpl<S,T>
org.gcube.informationsystem.model.impl.relations.RelationImpl<S,T>
org.gcube.informationsystem.model.impl.relations.IsRelatedToImpl<S,T>
- All Implemented Interfaces:
Serializable,Element,IdentifiableElement,RelationElement<S,,T> SchemaMixedElement,ERElement,ModelElement,IsRelatedTo<S,,T> Relation<S,T>
- Direct Known Subclasses:
DummyIsRelatedTo
public abstract class IsRelatedToImpl<S extends Resource,T extends Resource>
extends RelationImpl<S,T>
implements IsRelatedTo<S,T>
The default abstract implementation of the
IsRelatedTo interface.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Field Summary
Fields inherited from class org.gcube.informationsystem.model.impl.relations.RelationImpl
additionalProperties, allowedAdditionalKeys, contexts, expectedtype, propagationConstraint, supertypesFields inherited from class org.gcube.informationsystem.base.impl.relations.RelationElementImpl
metadata, source, target, uuidFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTYFields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.relations.IsRelatedTo
NAMEFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.relations.Relation
NAME, PROPAGATION_CONSTRAINT_PROPERTYFields inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement
NAME, SOURCE_PROPERTY, TARGET_PROPERTY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor.IsRelatedToImpl(S source, T target) Constructs a newIsRelatedToImplwith the given source and target.IsRelatedToImpl(S source, T target, PropagationConstraint propagationConstraint) Constructs a newIsRelatedToImplwith the given source, target, and propagation constraint. -
Method Summary
Methods inherited from class org.gcube.informationsystem.model.impl.relations.RelationImpl
getAdditionalProperties, getAdditionalProperty, getContexts, getExpectedtype, getPropagationConstraint, getSupertypes, setAdditionalProperties, setAdditionalProperty, setContexts, setPropagationConstraintMethods inherited from class org.gcube.informationsystem.base.impl.relations.RelationElementImpl
getID, getMetadata, getSource, getTarget, setID, setMetadata, setSource, setTargetMethods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.model.reference.ERElement
getContextsMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypesMethods inherited from interface org.gcube.informationsystem.model.reference.relations.Relation
getAdditionalProperties, getAdditionalProperty, getPropagationConstraint, getSource, getTarget, setAdditionalProperties, setAdditionalProperty, setPropagationConstraint, setSource, setTargetMethods inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement
getID, getMetadata, setID, setMetadata
-
Constructor Details
-
IsRelatedToImpl
protected IsRelatedToImpl()Default constructor. -
IsRelatedToImpl
Constructs a newIsRelatedToImplwith the given source and target.- Parameters:
source- The source resource.target- The target resource.
-
IsRelatedToImpl
Constructs a newIsRelatedToImplwith the given source, target, and propagation constraint.- Parameters:
source- The source resource.target- The target resource.propagationConstraint- The propagation constraint.
-