Class AbstractState
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.AbstractState
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
- Direct Known Subclasses:
AbstractAlertState,AbstractDeviceComponentState,AbstractMetricState,AbstractMultiState,AbstractOperationState
public class AbstractState extends Object implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
AbstractState defines foundational meta information of any object that is included in the state part of the MDIB. Any state object is derived from pm:AbstractState. The pm:AbstractState's counterpart is pm:AbstractDescriptor.Java class for AbstractState complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractState"> <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"/> </sequence> <attribute name="StateVersion" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}VersionCounter" /> <attribute name="DescriptorHandle" use="required" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}HandleRef" /> <attribute name="DescriptorVersion" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}ReferencedVersion" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdescriptorHandleprotected BigIntegerdescriptorVersionprotected ExtensionTypeextensionprotected BigIntegerstateVersion
-
Constructor Summary
Constructors Constructor Description AbstractState()
-
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()booleanequals(Object object)StringgetDescriptorHandle()Gets the value of the descriptorHandle property.BigIntegergetDescriptorVersion()Gets the value of the descriptorVersion property.ExtensionTypegetExtension()Gets the value of the extension property.BigIntegergetStateVersion()Gets the value of the stateVersion property.inthashCode()voidsetDescriptorHandle(String value)Sets the value of the descriptorHandle property.voidsetDescriptorVersion(BigInteger value)Sets the value of the descriptorVersion property.voidsetExtension(ExtensionType value)Sets the value of the extension property.voidsetStateVersion(BigInteger value)Sets the value of the stateVersion property.StringtoString()
-
-
-
Field Detail
-
extension
protected ExtensionType extension
-
stateVersion
protected BigInteger stateVersion
-
descriptorHandle
protected String descriptorHandle
-
descriptorVersion
protected BigInteger descriptorVersion
-
-
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
-
getStateVersion
public BigInteger getStateVersion()
Gets the value of the stateVersion property.- Returns:
- possible object is
BigInteger
-
setStateVersion
public void setStateVersion(BigInteger value)
Sets the value of the stateVersion property.- Parameters:
value- allowed object isBigInteger
-
getDescriptorHandle
public String getDescriptorHandle()
Gets the value of the descriptorHandle property.- Returns:
- possible object is
String
-
setDescriptorHandle
public void setDescriptorHandle(String value)
Sets the value of the descriptorHandle 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
-
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
-
-