Class AbstractDescriptor
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.AbstractDescriptor
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
- Direct Known Subclasses:
AbstractAlertDescriptor,AbstractContextDescriptor,AbstractDeviceComponentDescriptor,AbstractMetricDescriptor,AbstractOperationDescriptor
public class AbstractDescriptor extends Object implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
AbstractDescriptor defines foundational meta information of any object that is included in the descriptive part of the MDIB. Any descriptor object is derived from pm:AbstractDescriptor. The AbstractDescriptor's counterpart is pm:AbstractState.Java class for AbstractDescriptor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractDescriptor"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://standards.ieee.org/downloads/11073/11073-10207-2017/extension}Extension" minOccurs="0"/> <element name="Type" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}CodedValue" minOccurs="0"/> </sequence> <attribute name="Handle" use="required" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}Handle" /> <attribute name="DescriptorVersion" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}VersionCounter" /> <attribute name="SafetyClassification" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}SafetyClassification" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BigIntegerdescriptorVersionprotected ExtensionTypeextensionprotected Stringhandleprotected SafetyClassificationsafetyClassificationprotected CodedValuetype
-
Constructor Summary
Constructors Constructor Description AbstractDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()BigIntegergetDescriptorVersion()Gets the value of the descriptorVersion property.ExtensionTypegetExtension()Gets the value of the extension property.StringgetHandle()Gets the value of the handle property.SafetyClassificationgetSafetyClassification()Gets the value of the safetyClassification property.CodedValuegetType()Gets the value of the type property.voidsetDescriptorVersion(BigInteger value)Sets the value of the descriptorVersion property.voidsetExtension(ExtensionType value)Sets the value of the extension property.voidsetHandle(String value)Sets the value of the handle property.voidsetSafetyClassification(SafetyClassification value)Sets the value of the safetyClassification property.voidsetType(CodedValue value)Sets the value of the type property.StringtoString()
-
-
-
Field Detail
-
extension
protected ExtensionType extension
-
type
protected CodedValue type
-
handle
protected String handle
-
descriptorVersion
protected BigInteger descriptorVersion
-
safetyClassification
protected SafetyClassification safetyClassification
-
-
Method Detail
-
getExtension
public ExtensionType getExtension()
Gets the value of the extension property.- Returns:
- possible object is
ExtensionType
-
setExtension
public void setExtension(ExtensionType value)
Sets the value of the extension property.- Parameters:
value- allowed object isExtensionType
-
getType
public CodedValue getType()
Gets the value of the type property.- Returns:
- possible object is
CodedValue
-
setType
public void setType(CodedValue value)
Sets the value of the type property.- Parameters:
value- allowed object isCodedValue
-
getHandle
public String getHandle()
Gets the value of the handle property.- Returns:
- possible object is
String
-
setHandle
public void setHandle(String value)
Sets the value of the handle property.- Parameters:
value- allowed object isString
-
getDescriptorVersion
public BigInteger getDescriptorVersion()
Gets the value of the descriptorVersion property.- Returns:
- possible object is
BigInteger
-
setDescriptorVersion
public void setDescriptorVersion(BigInteger value)
Sets the value of the descriptorVersion property.- Parameters:
value- allowed object isBigInteger
-
getSafetyClassification
public SafetyClassification getSafetyClassification()
Gets the value of the safetyClassification property.- Returns:
- possible object is
SafetyClassification
-
setSafetyClassification
public void setSafetyClassification(SafetyClassification value)
Sets the value of the safetyClassification property.- Parameters:
value- allowed object isSafetyClassification
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
-