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.ConsistsOfImpl<S,T>
- All Implemented Interfaces:
Serializable,Element,IdentifiableElement,RelationElement<S,,T> SchemaMixedElement,ERElement,ModelElement,ConsistsOf<S,,T> Relation<S,T>
public class ConsistsOfImpl<S extends Resource,T extends Facet>
extends RelationImpl<S,T>
implements ConsistsOf<S,T>
The default implementation of the
ConsistsOf 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.model.reference.relations.ConsistsOf
NAMEFields 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.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.ConsistsOfImpl(S source, T target) Constructs a newConsistsOfImplwith the given source and target.ConsistsOfImpl(S source, T target, PropagationConstraint propagationConstraint) Constructs a newConsistsOfImplwith 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
-
ConsistsOfImpl
protected ConsistsOfImpl()Default constructor. -
ConsistsOfImpl
Constructs a newConsistsOfImplwith the given source and target.- Parameters:
source- The source resource.target- The target facet.
-
ConsistsOfImpl
Constructs a newConsistsOfImplwith the given source, target, and propagation constraint.- Parameters:
source- The source resource.target- The target facet.propagationConstraint- The propagation constraint.
-