Class FakeProperty.FakePropertyBuilder
- java.lang.Object
-
- test.de.iip_ecosphere.platform.support.fakeAas.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.PropertyBuilderA fake property builder.- Author:
- Holger Eichelberger, SSE
-
-
Field Summary
Fields Modifier and Type Field Description private FakePropertyinstanceprivate FakeSubmodelElementContainerBuilderparent
-
Constructor Summary
Constructors Constructor Description FakePropertyBuilder(FakeSubmodelElementContainerBuilder parent, java.lang.String idShort)Creates the fake property builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.iip_ecosphere.platform.support.aas.Property.PropertyBuilderbind(java.util.function.Supplier<java.lang.Object> get, java.util.function.Consumer<java.lang.Object> set)de.iip_ecosphere.platform.support.aas.Propertybuild()de.iip_ecosphere.platform.support.aas.SubmodelElementContainerBuildergetParentBuilder()java.lang.ObjectgetValue()de.iip_ecosphere.platform.support.aas.Property.PropertyBuildersetDescription(de.iip_ecosphere.platform.support.aas.LangString... description)de.iip_ecosphere.platform.support.aas.Property.PropertyBuildersetSemanticId(java.lang.String refValue)de.iip_ecosphere.platform.support.aas.Property.PropertyBuildersetType(de.iip_ecosphere.platform.support.aas.Type type)de.iip_ecosphere.platform.support.aas.Property.PropertyBuildersetValue(de.iip_ecosphere.platform.support.aas.Type type, java.lang.Object value)de.iip_ecosphere.platform.support.aas.Property.PropertyBuildersetValue(java.lang.Object value)
-
-
-
Field Detail
-
parent
private FakeSubmodelElementContainerBuilder parent
-
instance
private FakeProperty instance
-
-
Constructor Detail
-
FakePropertyBuilder
FakePropertyBuilder(FakeSubmodelElementContainerBuilder parent, java.lang.String idShort)
Creates the fake property builder.- Parameters:
parent- the parent builderidShort- the short id
-
-
Method Detail
-
getParentBuilder
public de.iip_ecosphere.platform.support.aas.SubmodelElementContainerBuilder getParentBuilder()
- Specified by:
getParentBuilderin interfacede.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:
setTypein interfacede.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
-
setValue
public de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder setValue(java.lang.Object value)
- Specified by:
setValuein interfacede.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:
setValuein interfacede.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:
bindin interfacede.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
-
setSemanticId
public de.iip_ecosphere.platform.support.aas.Property.PropertyBuilder setSemanticId(java.lang.String refValue)
- Specified by:
setSemanticIdin interfacede.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
-
build
public de.iip_ecosphere.platform.support.aas.Property build()
- Specified by:
buildin interfacede.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:
getValuein interfacede.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:
setDescriptionin interfacede.iip_ecosphere.platform.support.aas.Property.PropertyBuilder
-
-