Package io.adminshell.aas.v3.model.impl
Class DefaultExtension
- java.lang.Object
-
- io.adminshell.aas.v3.model.impl.DefaultExtension
-
- All Implemented Interfaces:
Extension,HasSemantics
public class DefaultExtension extends java.lang.Object implements Extension
Default implementation of package io.adminshell.aas.v3.model.Extension Single extension of an element. Constraint AASd-077: The name of an extension within HasExtensions needs to be unique.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultExtension.BuilderThis builder class can be used to construct a DefaultExtension bean.
-
Constructor Summary
Constructors Constructor Description DefaultExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetName()An extension of the element.ReferencegetRefersTo()Reference to an element the extension refers to.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()Value of the extension.java.lang.StringgetValueType()Type of the value of the extension.inthashCode()voidsetName(java.lang.String name)An extension of the element.voidsetRefersTo(Reference refersTo)Reference to an element the extension refers to.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)Value of the extension.voidsetValueType(java.lang.String valueType)Type of the value of the extension.
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getName
public java.lang.String getName()
Description copied from interface:ExtensionAn extension of the element. More information under https://admin-shell.io/aas/3/0/RC01/Extension/name
-
setName
public void setName(java.lang.String name)
Description copied from interface:ExtensionAn extension of the element. More information under https://admin-shell.io/aas/3/0/RC01/Extension/name
-
getValueType
public java.lang.String getValueType()
Description copied from interface:ExtensionType of the value of the extension. More information under https://admin-shell.io/aas/3/0/RC01/Extension/valueType- Specified by:
getValueTypein interfaceExtension- Returns:
- Returns the String for the property valueType.
-
setValueType
public void setValueType(java.lang.String valueType)
Description copied from interface:ExtensionType of the value of the extension. More information under https://admin-shell.io/aas/3/0/RC01/Extension/valueType- Specified by:
setValueTypein interfaceExtension- Parameters:
valueType- desired value for the property valueType.
-
getValue
public java.lang.String getValue()
Description copied from interface:ExtensionValue of the extension. More information under https://admin-shell.io/aas/3/0/RC01/Extension/value
-
setValue
public void setValue(java.lang.String value)
Description copied from interface:ExtensionValue of the extension. More information under https://admin-shell.io/aas/3/0/RC01/Extension/value
-
getRefersTo
public Reference getRefersTo()
Description copied from interface:ExtensionReference to an element the extension refers to. More information under https://admin-shell.io/aas/3/0/RC01/Extension/refersTo- Specified by:
getRefersToin interfaceExtension- Returns:
- Returns the Reference for the property refersTo.
-
setRefersTo
public void setRefersTo(Reference refersTo)
Description copied from interface:ExtensionReference to an element the extension refers to. More information under https://admin-shell.io/aas/3/0/RC01/Extension/refersTo- Specified by:
setRefersToin interfaceExtension- Parameters:
refersTo- desired value for the property refersTo.
-
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.
-
-