Class FakeProperty.FakePropertyBuilder

  • All Implemented Interfaces:
    de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder, de.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.aas.Property>
    Enclosing class:
    FakeProperty

    static class FakeProperty.FakePropertyBuilder
    extends java.lang.Object
    implements de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
    A fake property builder.
    Author:
    Holger Eichelberger, SSE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder bind​(java.util.function.Supplier<java.lang.Object> get, java.util.function.Consumer<java.lang.Object> set)  
      de.iip_ecosphere.platform.support.aas.Property build()  
      de.iip_ecosphere.platform.support.aas.SubmodelElementContainerBuilder getParentBuilder()  
      java.lang.Object getValue()  
      de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder setDescription​(de.iip_ecosphere.platform.support.aas.LangString... description)  
      de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder setSemanticId​(java.lang.String refValue)  
      de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder setType​(de.iip_ecosphere.platform.support.aas.Type type)  
      de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder setValue​(de.iip_ecosphere.platform.support.aas.Type type, java.lang.Object value)  
      de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder setValue​(java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder

        bindLazy
    • Constructor Detail

      • FakePropertyBuilder

        FakePropertyBuilder​(FakeSubmodelElementContainerBuilder parent,
                            java.lang.String idShort)
        Creates the fake property builder.
        Parameters:
        parent - the parent builder
        idShort - the short id
    • Method Detail

      • getParentBuilder

        public de.iip_ecosphere.platform.support.aas.SubmodelElementContainerBuilder getParentBuilder()
        Specified by:
        getParentBuilder in interface de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
      • setType

        public de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder setType​(de.iip_ecosphere.platform.support.aas.Type type)
        Specified by:
        setType in interface de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
      • setValue

        public de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder setValue​(java.lang.Object value)
        Specified by:
        setValue in interface de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
      • setValue

        public de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder setValue​(de.iip_ecosphere.platform.support.aas.Type type,
                                                                                       java.lang.Object value)
        Specified by:
        setValue in interface de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
      • bind

        public de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder bind​(java.util.function.Supplier<java.lang.Object> get,
                                                                                   java.util.function.Consumer<java.lang.Object> set)
        Specified by:
        bind in interface de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
      • setSemanticId

        public de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder setSemanticId​(java.lang.String refValue)
        Specified by:
        setSemanticId in interface de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
      • build

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

        public java.lang.Object getValue()
                                  throws java.util.concurrent.ExecutionException
        Specified by:
        getValue in interface de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
        Throws:
        java.util.concurrent.ExecutionException
      • setDescription

        public de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder setDescription​(de.iip_ecosphere.platform.support.aas.LangString... description)
        Specified by:
        setDescription in interface de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder