- All Superinterfaces:
org.gcube.informationsystem.base.reference.Element,org.gcube.informationsystem.model.reference.ERElement,org.gcube.informationsystem.base.reference.IdentifiableElement,org.gcube.informationsystem.model.reference.relations.IsRelatedTo<Out,,In> org.gcube.informationsystem.model.reference.ModelElement,org.gcube.informationsystem.model.reference.relations.Relation<Out,,In> org.gcube.informationsystem.base.reference.relations.RelationElement<Out,,In> org.gcube.informationsystem.base.reference.SchemaMixedElement,Serializable
- All Known Implementing Classes:
CallsForImpl,DiscoversImpl,UsesImpl
@TypeMetadata(name="CallsFor",
description="A {@link Service} instance can require another {@link Service} instance to properly operate and this is indicated with CallsFor. Motivations similar to the ones for {@link Requires} relation conducted to the definition for this relation.",
version="1.0.0")
@Change(version="1.0.0",
description="First Version")
public interface CallsFor<Out extends Service,In extends Service>
extends org.gcube.informationsystem.model.reference.relations.IsRelatedTo<Out,In>
A
Service instance can require another Service instance to properly
operate and this is indicated with CallsFor.
Motivations similar to the ones for Requires relation conducted to the definition for this relation.
https://wiki.gcube-system.org/gcube/GCube_Model#CallsFor- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, 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
VERSIONFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.relations.Relation
PROPAGATION_CONSTRAINT_PROPERTYFields inherited from interface org.gcube.informationsystem.base.reference.relations.RelationElement
SOURCE_PROPERTY, TARGET_PROPERTY -
Method Summary
Static MethodsModifier and TypeMethodDescriptiongetDefaultInstance(Out out, In in) Returns a default instance of CallsForMethods 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
-
Field Details
-
NAME
The name of the CallsFor relation type.- See Also:
-
-
Method Details
-
getDefaultInstance
static <Out extends Service,In extends Service> CallsFor<Out,In> getDefaultInstance(Out out, In in) Returns a default instance of CallsFor- Type Parameters:
Out- the source ServiceIn- the target Service- Parameters:
out- the source Service instancein- the target Service instance- Returns:
- a default instance of CallsFor
-