-
- 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:
BelongsToImpl
@TypeMetadata(name="BelongsTo", description="BelongsTo indicates that a {@link Person} belong to the target {@link LegalBody}.", version="1.0.0") @Change(version="1.0.0", description="First Version") public interface BelongsTo<Out extends Person,In extends LegalBody> extends org.gcube.informationsystem.model.reference.relations.IsRelatedTo<Out,In>BelongsTo indicates that aPersonbelong to the targetLegalBody. https://wiki.gcube-system.org/gcube/GCube_Model#BelongsTo- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMEThe name of the BelongsTo relation type.-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, 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
-
-
Method Summary
Static Methods Modifier and Type Method Description static <Out extends Person,In extends LegalBody>
BelongsTo<Out,In>getDefaultInstance(Out out, In in)Returns a default instance of BelongsTo-
Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
-
-
-
Field Detail
-
NAME
static final String NAME
The name of the BelongsTo relation type.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultInstance
static <Out extends Person,In extends LegalBody> BelongsTo<Out,In> getDefaultInstance(Out out, In in)
Returns a default instance of BelongsTo- Type Parameters:
Out- the source PersonIn- the target LegalBody- Parameters:
out- the source Person instancein- the target LegalBody instance- Returns:
- a default instance of BelongsTo
-
-