Package io.adminshell.aas.v3.model
Interface RelationshipElement
-
- All Superinterfaces:
HasDataSpecification,HasExtensions,HasKind,HasSemantics,Qualifiable,Referable,SubmodelElement
- All Known Subinterfaces:
AnnotatedRelationshipElement
- All Known Implementing Classes:
DefaultAnnotatedRelationshipElement,DefaultRelationshipElement
public interface RelationshipElement extends SubmodelElement
Constraint AASd-055: The semanticId of a RelationshipElement or a AnnotatedRelationshipElement shall only reference a ConceptDescription with the category RELATIONSHIP.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReferencegetFirst()First element in the relationship taking the role of the subject.ReferencegetSecond()Second element in the relationship taking the role of the object.voidsetFirst(Reference first)First element in the relationship taking the role of the subject.voidsetSecond(Reference second)Second element in the relationship taking the role of the object.-
Methods inherited from interface io.adminshell.aas.v3.model.HasDataSpecification
getEmbeddedDataSpecifications, setEmbeddedDataSpecifications
-
Methods inherited from interface io.adminshell.aas.v3.model.HasExtensions
getExtensions, setExtensions
-
Methods inherited from interface io.adminshell.aas.v3.model.HasSemantics
getSemanticId, setSemanticId
-
Methods inherited from interface io.adminshell.aas.v3.model.Qualifiable
getQualifiers, setQualifiers
-
Methods inherited from interface io.adminshell.aas.v3.model.Referable
getCategory, getDescriptions, getDisplayNames, getIdShort, setCategory, setDescriptions, setDisplayNames, setIdShort
-
-
-
-
Method Detail
-
getFirst
Reference getFirst()
First element in the relationship taking the role of the subject. More information under https://admin-shell.io/aas/3/0/RC01/RelationshipElement/first- Returns:
- Returns the Reference for the property first.
-
setFirst
void setFirst(Reference first)
First element in the relationship taking the role of the subject. More information under https://admin-shell.io/aas/3/0/RC01/RelationshipElement/first- Parameters:
first- desired value for the property first.
-
getSecond
Reference getSecond()
Second element in the relationship taking the role of the object. More information under https://admin-shell.io/aas/3/0/RC01/RelationshipElement/second- Returns:
- Returns the Reference for the property second.
-
setSecond
void setSecond(Reference second)
Second element in the relationship taking the role of the object. More information under https://admin-shell.io/aas/3/0/RC01/RelationshipElement/second- Parameters:
second- desired value for the property second.
-
-