Class FakeProperty
- java.lang.Object
-
- test.de.iip_ecosphere.platform.support.fakeAas.FakeElement
-
- test.de.iip_ecosphere.platform.support.fakeAas.FakeProperty
-
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.DataElement,de.iip_ecosphere.platform.support.aas.Element,de.iip_ecosphere.platform.support.aas.HasDataSpecification,de.iip_ecosphere.platform.support.aas.HasKind,de.iip_ecosphere.platform.support.aas.HasSemantics,de.iip_ecosphere.platform.support.aas.Property,de.iip_ecosphere.platform.support.aas.Qualifiable,de.iip_ecosphere.platform.support.aas.Referable,de.iip_ecosphere.platform.support.aas.SubmodelElement
public class FakeProperty extends FakeElement implements de.iip_ecosphere.platform.support.aas.Property
Implements a fake property for testing.- Author:
- Holger Eichelberger, SSE
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classFakeProperty.FakePropertyBuilderA fake property builder.
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringsemanticIdprivate de.iip_ecosphere.platform.support.aas.Typetypeprivate java.lang.Objectvalue
-
Constructor Summary
Constructors Modifier Constructor Description protectedFakeProperty(java.lang.String idShort)Creates the instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)java.lang.StringgetSemanticId(boolean stripPrefix)java.lang.ObjectgetValue()voidsetValue(java.lang.Object value)-
Methods inherited from class test.de.iip_ecosphere.platform.support.fakeAas.FakeElement
getIdShort, update
-
-
-
-
Method Detail
-
accept
public void accept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)
- Specified by:
acceptin interfacede.iip_ecosphere.platform.support.aas.Element
-
getValue
public java.lang.Object getValue() throws java.util.concurrent.ExecutionException- Specified by:
getValuein interfacede.iip_ecosphere.platform.support.aas.Property- Throws:
java.util.concurrent.ExecutionException
-
setValue
public void setValue(java.lang.Object value) throws java.util.concurrent.ExecutionException- Specified by:
setValuein interfacede.iip_ecosphere.platform.support.aas.Property- Throws:
java.util.concurrent.ExecutionException
-
getSemanticId
public java.lang.String getSemanticId(boolean stripPrefix)
- Specified by:
getSemanticIdin interfacede.iip_ecosphere.platform.support.aas.Property
-
-