- 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 theIsRelatedTointerface.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.gcube.informationsystem.model.impl.relations.RelationImpl
additionalProperties, allowedAdditionalKeys, contexts, expectedtype, propagationConstraint, supertypes
-
Fields inherited from class org.gcube.informationsystem.base.impl.relations.RelationElementImpl
metadata, source, target, uuid
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ERElement
CONTEXTS_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.base.reference.IdentifiableElement
ID_PROPERTY, METADATA_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.relations.IsRelatedTo
NAME
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.relations.Relation
NAME, PROPAGATION_CONSTRAINT_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement
NAME, SOURCE_PROPERTY, TARGET_PROPERTY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIsRelatedToImpl()Default 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, setPropagationConstraint
-
Methods inherited from class org.gcube.informationsystem.base.impl.relations.RelationElementImpl
getID, getMetadata, getSource, getTarget, setID, setMetadata, setSource, setTarget
-
Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toString
-
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.model.reference.ERElement
getContexts
-
Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
Methods inherited from interface org.gcube.informationsystem.model.reference.relations.Relation
getAdditionalProperties, getAdditionalProperty, getPropagationConstraint, getSource, getTarget, setAdditionalProperties, setAdditionalProperty, setPropagationConstraint, setSource, setTarget
-
Methods inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement
getID, getMetadata, setID, setMetadata
-
-
-
-
Constructor Detail
-
IsRelatedToImpl
protected IsRelatedToImpl()
Default constructor.
-
IsRelatedToImpl
public IsRelatedToImpl(S source, T target)
Constructs a newIsRelatedToImplwith the given source and target.- Parameters:
source- The source resource.target- The target resource.
-
IsRelatedToImpl
public IsRelatedToImpl(S source, T target, PropagationConstraint propagationConstraint)
Constructs a newIsRelatedToImplwith the given source, target, and propagation constraint.- Parameters:
source- The source resource.target- The target resource.propagationConstraint- The propagation constraint.
-
-