Class BaSyxReference
java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.BaSyxReference
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.Reference
public class BaSyxReference
extends Object
implements de.iip_ecosphere.platform.support.aas.Reference
Implements a BaSyx reference value wrapper.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.digitaltwin.aas4j.v3.model.Reference -
Constructor Summary
ConstructorsConstructorDescriptionBaSyxReference(org.eclipse.digitaltwin.aas4j.v3.model.Reference reference) Creates an instance. -
Method Summary
Modifier and TypeMethodDescription(package private) static BaSyxReferencecreateModelReference(org.eclipse.digitaltwin.aas4j.v3.model.Referable target) Create an model reference pointing totarget.boolean(package private) org.eclipse.digitaltwin.aas4j.v3.model.ReferenceReturns the BaSyx reference.inthashCode()booleantoString()
-
Field Details
-
reference
private org.eclipse.digitaltwin.aas4j.v3.model.Reference reference
-
-
Constructor Details
-
BaSyxReference
public BaSyxReference(org.eclipse.digitaltwin.aas4j.v3.model.Reference reference) Creates an instance.- Parameters:
reference- the BaSyx reference
-
-
Method Details
-
createModelReference
Create an model reference pointing totarget.- Parameters:
target- the target- Returns:
- the model reference
-
getReference
org.eclipse.digitaltwin.aas4j.v3.model.Reference getReference()Returns the BaSyx reference.- Returns:
- the BaSyx reference
-
toString
-
hasReference
public boolean hasReference()- Specified by:
hasReferencein interfacede.iip_ecosphere.platform.support.aas.Reference
-
equals
-
hashCode
public int hashCode()
-