Package io.adminshell.aas.v3.model.impl
Class DefaultIdentifierKeyValuePair
- java.lang.Object
-
- io.adminshell.aas.v3.model.impl.DefaultIdentifierKeyValuePair
-
- All Implemented Interfaces:
HasSemantics,IdentifierKeyValuePair
public class DefaultIdentifierKeyValuePair extends java.lang.Object implements IdentifierKeyValuePair
Default implementation of package io.adminshell.aas.v3.model.IdentifierKeyValuePair An IdentifierKeyValuePair describes a generic identifier as key-value pair.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultIdentifierKeyValuePair.BuilderThis builder class can be used to construct a DefaultIdentifierKeyValuePair bean.
-
Field Summary
Fields Modifier and Type Field Description protected ReferenceexternalSubjectIdprotected java.lang.Stringkeyprotected ReferencesemanticIdprotected java.lang.Stringvalue
-
Constructor Summary
Constructors Constructor Description DefaultIdentifierKeyValuePair()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)ReferencegetExternalSubjectId()The (external) subject the key belongs to or has meaning to.java.lang.StringgetKey()Key of the identifier.ReferencegetSemanticId()Points to the Expression Semantic of the Submodels The semantic id might refer to an external information source, which explains the formulation of the submodel (for example an PDF if a standard).java.lang.StringgetValue()The value of the identifier with the corresponding key.inthashCode()voidsetExternalSubjectId(Reference externalSubjectId)The (external) subject the key belongs to or has meaning to.voidsetKey(java.lang.String key)Key of the identifier.voidsetSemanticId(Reference semanticId)Points to the Expression Semantic of the Submodels The semantic id might refer to an external information source, which explains the formulation of the submodel (for example an PDF if a standard).voidsetValue(java.lang.String value)The value of the identifier with the corresponding key.
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getKey
public java.lang.String getKey()
Description copied from interface:IdentifierKeyValuePairKey of the identifier. More information under https://admin-shell.io/aas/3/0/RC01/IdentifierKeyValuePair/key- Specified by:
getKeyin interfaceIdentifierKeyValuePair- Returns:
- Returns the String for the property key.
-
setKey
public void setKey(java.lang.String key)
Description copied from interface:IdentifierKeyValuePairKey of the identifier. More information under https://admin-shell.io/aas/3/0/RC01/IdentifierKeyValuePair/key- Specified by:
setKeyin interfaceIdentifierKeyValuePair- Parameters:
key- desired value for the property key.
-
getValue
public java.lang.String getValue()
Description copied from interface:IdentifierKeyValuePairThe value of the identifier with the corresponding key. More information under https://admin-shell.io/aas/3/0/RC01/IdentifierKeyValuePair/value- Specified by:
getValuein interfaceIdentifierKeyValuePair- Returns:
- Returns the String for the property value.
-
setValue
public void setValue(java.lang.String value)
Description copied from interface:IdentifierKeyValuePairThe value of the identifier with the corresponding key. More information under https://admin-shell.io/aas/3/0/RC01/IdentifierKeyValuePair/value- Specified by:
setValuein interfaceIdentifierKeyValuePair- Parameters:
value- desired value for the property value.
-
getExternalSubjectId
public Reference getExternalSubjectId()
Description copied from interface:IdentifierKeyValuePairThe (external) subject the key belongs to or has meaning to. More information under https://admin-shell.io/aas/3/0/RC01/IdentifierKeyValuePair/externalSubjectId- Specified by:
getExternalSubjectIdin interfaceIdentifierKeyValuePair- Returns:
- Returns the Reference for the property externalSubjectId.
-
setExternalSubjectId
public void setExternalSubjectId(Reference externalSubjectId)
Description copied from interface:IdentifierKeyValuePairThe (external) subject the key belongs to or has meaning to. More information under https://admin-shell.io/aas/3/0/RC01/IdentifierKeyValuePair/externalSubjectId- Specified by:
setExternalSubjectIdin interfaceIdentifierKeyValuePair- Parameters:
externalSubjectId- desired value for the property externalSubjectId.
-
getSemanticId
public Reference getSemanticId()
Description copied from interface:HasSemanticsPoints to the Expression Semantic of the Submodels The semantic id might refer to an external information source, which explains the formulation of the submodel (for example an PDF if a standard). More information under https://admin-shell.io/aas/3/0/RC01/HasSemantics/semanticId- Specified by:
getSemanticIdin interfaceHasSemantics- Returns:
- Returns the Reference for the property semanticId.
-
setSemanticId
public void setSemanticId(Reference semanticId)
Description copied from interface:HasSemanticsPoints to the Expression Semantic of the Submodels The semantic id might refer to an external information source, which explains the formulation of the submodel (for example an PDF if a standard). More information under https://admin-shell.io/aas/3/0/RC01/HasSemantics/semanticId- Specified by:
setSemanticIdin interfaceHasSemantics- Parameters:
semanticId- desired value for the property semanticId.
-
-