Package io.adminshell.aas.v3.model.impl
Class DefaultValueReferencePair
- java.lang.Object
-
- io.adminshell.aas.v3.model.impl.DefaultValueReferencePair
-
- All Implemented Interfaces:
ValueReferencePair
public class DefaultValueReferencePair extends java.lang.Object implements ValueReferencePair
Default implementation of package io.adminshell.aas.v3.model.ValueReferencePair A value reference pair within a value list. Each value has a global unique id defining its semantic.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultValueReferencePair.BuilderThis builder class can be used to construct a DefaultValueReferencePair bean.
-
Constructor Summary
Constructors Constructor Description DefaultValueReferencePair()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetValue()the value of the referenced concept definition of the value in valueId.ReferencegetValueId()Global unique id of the value.inthashCode()voidsetValue(java.lang.String value)the value of the referenced concept definition of the value in valueId.voidsetValueId(Reference valueId)Global unique id of the value.
-
-
-
Field Detail
-
value
protected java.lang.String value
-
valueId
protected Reference valueId
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getValue
public java.lang.String getValue()
Description copied from interface:ValueReferencePairthe value of the referenced concept definition of the value in valueId. More information under https://admin-shell.io/aas/3/0/RC01/ValueReferencePair/value- Specified by:
getValuein interfaceValueReferencePair- Returns:
- Returns the String for the property value.
-
setValue
public void setValue(java.lang.String value)
Description copied from interface:ValueReferencePairthe value of the referenced concept definition of the value in valueId. More information under https://admin-shell.io/aas/3/0/RC01/ValueReferencePair/value- Specified by:
setValuein interfaceValueReferencePair- Parameters:
value- desired value for the property value.
-
getValueId
public Reference getValueId()
Description copied from interface:ValueReferencePairGlobal unique id of the value. More information under https://admin-shell.io/aas/3/0/RC01/ValueReferencePair/valueId- Specified by:
getValueIdin interfaceValueReferencePair- Returns:
- Returns the Reference for the property valueId.
-
setValueId
public void setValueId(Reference valueId)
Description copied from interface:ValueReferencePairGlobal unique id of the value. More information under https://admin-shell.io/aas/3/0/RC01/ValueReferencePair/valueId- Specified by:
setValueIdin interfaceValueReferencePair- Parameters:
valueId- desired value for the property valueId.
-
-