Class BaSyxRelationshipElement.BaSyxRelationshipElementBuilder
java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.BaSyxRelationshipElement.BaSyxRelationshipElementBuilder
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.RelationshipElement.RelationshipElementBuilder,de.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.aas.RelationshipElement>
- Enclosing class:
BaSyxRelationshipElement
public static class BaSyxRelationshipElement.BaSyxRelationshipElementBuilder
extends Object
implements de.iip_ecosphere.platform.support.aas.RelationshipElement.RelationshipElementBuilder
Builder for
BaSyxProperty.- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BaSyxRelationshipElementprivate BaSyxSubmodelElementContainerBuilder<?> -
Constructor Summary
ConstructorsConstructorDescriptionBaSyxRelationshipElementBuilder(BaSyxSubmodelElementContainerBuilder<?> parentBuilder, String idShort, de.iip_ecosphere.platform.support.aas.Reference first, de.iip_ecosphere.platform.support.aas.Reference second) Creates an instance. -
Method Summary
Modifier and TypeMethodDescriptionde.iip_ecosphere.platform.support.aas.RelationshipElementbuild()de.iip_ecosphere.platform.support.aas.RelationshipElement.RelationshipElementBuildersetDescription(de.iip_ecosphere.platform.support.aas.LangString... description) de.iip_ecosphere.platform.support.aas.RelationshipElement.RelationshipElementBuildersetSemanticId(String refValue)
-
Field Details
-
parentBuilder
-
instance
-
-
Constructor Details
-
BaSyxRelationshipElementBuilder
BaSyxRelationshipElementBuilder(BaSyxSubmodelElementContainerBuilder<?> parentBuilder, String idShort, de.iip_ecosphere.platform.support.aas.Reference first, de.iip_ecosphere.platform.support.aas.Reference second) Creates an instance. Prevents external creation.- Parameters:
parentBuilder- the parent builderidShort- the short name of the propertyfirst- the first referencesecond- the second reference- Throws:
IllegalArgumentException- ifidShortis null or empty;firstandsecondmust be of typeBaSyxReference
-
-
Method Details
-
setDescription
public de.iip_ecosphere.platform.support.aas.RelationshipElement.RelationshipElementBuilder setDescription(de.iip_ecosphere.platform.support.aas.LangString... description) - Specified by:
setDescriptionin interfacede.iip_ecosphere.platform.support.aas.RelationshipElement.RelationshipElementBuilder
-
setSemanticId
public de.iip_ecosphere.platform.support.aas.RelationshipElement.RelationshipElementBuilder setSemanticId(String refValue) - Specified by:
setSemanticIdin interfacede.iip_ecosphere.platform.support.aas.RelationshipElement.RelationshipElementBuilder
-
build
public de.iip_ecosphere.platform.support.aas.RelationshipElement build()- Specified by:
buildin interfacede.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.aas.RelationshipElement>
-