- 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 theConsistsOfinterface.- 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.model.reference.relations.ConsistsOf
NAME
-
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.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 protectedConsistsOfImpl()Default 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, 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
-
ConsistsOfImpl
protected ConsistsOfImpl()
Default constructor.
-
ConsistsOfImpl
public ConsistsOfImpl(S source, T target)
Constructs a newConsistsOfImplwith the given source and target.- Parameters:
source- The source resource.target- The target facet.
-
ConsistsOfImpl
public ConsistsOfImpl(S source, T target, PropagationConstraint propagationConstraint)
Constructs a newConsistsOfImplwith the given source, target, and propagation constraint.- Parameters:
source- The source resource.target- The target facet.propagationConstraint- The propagation constraint.
-
-