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 Details

  • 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 builder
      idShort - the short name of the property
      first - the first reference
      second - the second reference
      Throws:
      IllegalArgumentException - if idShort is null or empty; first and second must be of type BaSyxReference
  • Method Details

    • setDescription

      public de.iip_ecosphere.platform.support.aas.RelationshipElement.RelationshipElementBuilder setDescription(de.iip_ecosphere.platform.support.aas.LangString... description)
      Specified by:
      setDescription in interface de.iip_ecosphere.platform.support.aas.RelationshipElement.RelationshipElementBuilder
    • setSemanticId

      public de.iip_ecosphere.platform.support.aas.RelationshipElement.RelationshipElementBuilder setSemanticId(String refValue)
      Specified by:
      setSemanticId in interface de.iip_ecosphere.platform.support.aas.RelationshipElement.RelationshipElementBuilder
    • build

      public de.iip_ecosphere.platform.support.aas.RelationshipElement build()
      Specified by:
      build in interface de.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.aas.RelationshipElement>