-
- 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:
EnablesImpl
@TypeMetadata(name="Enables", description="Any [Service](type:Service) representing running code of a specific software has the relation Enables targeted to the corresponding [Software](type:Software). Enables is used for example by [EService](type:EService) to indicate the running software; from [HostingNode](type:HostingNode) to indicate the running software container; within [RunningPlugin](type:RunningPlugin) to indicate the software represented as [Plugin](type:Plugin).", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface Enables<Out extends Service,In extends Software> extends org.gcube.informationsystem.model.reference.relations.IsRelatedTo<Out,In>AnyServicerepresenting running code of a specific software has the relation Enables targeted to the correspondingSoftware. Enables is used for example byEServiceto indicate the running software; fromHostingNodeto indicate the running software container; withinRunningPluginto indicate the software represented asPlugin.- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMEThe name of the Enables relation type.-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, REDACTED, TYPE_PROPERTY, UNKNOWN_USER
-
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
-
-
Method Summary
Static Methods Modifier and Type Method Description static <Out extends Service,In extends Software>
Enables<Out,In>getDefaultInstance(Out out, In in)Returns a default instance of Enables-
Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedType, getSupertypes
-
-
-
-
Field Detail
-
NAME
static final String NAME
The name of the Enables relation type.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
static <Out extends Service,In extends Software> Enables<Out,In> getDefaultInstance(Out out, In in)
Returns a default instance of Enables- Type Parameters:
Out- the source ServiceIn- the target Software- Parameters:
out- the source Service instancein- the target Software instance- Returns:
- a default instance of Enables
-
-