Class VabOperationsProvider.Property
- java.lang.Object
-
- de.iip_ecosphere.platform.support.aas.basyx.VabOperationsProvider.Property
-
- Enclosing class:
- VabOperationsProvider
private static class VabOperationsProvider.Property extends java.lang.ObjectRepresents a property consisting of a consumer and a supplier function. Both functions may map to attributes or accessor functions depending on the implementing objet.- Author:
- Holger Eichelberger, SSE
-
-
Constructor Summary
Constructors Modifier Constructor Description privateProperty(java.util.function.Supplier<java.lang.Object> get, java.util.function.Consumer<java.lang.Object> set)Creates a property instance.
-
-
-
Constructor Detail
-
Property
private Property(java.util.function.Supplier<java.lang.Object> get, java.util.function.Consumer<java.lang.Object> set)Creates a property instance. Theoretically, either entry may be null for read-only/write-only properties, but this must be, however, reflected in the AAS so that no wrong can access happens.- Parameters:
get- the supplier providing read access to the property value (may be null)set- the consumer providing write access to the property value (may be null)
-
-