Class BatteryDescriptor
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.AbstractDescriptor
-
- org.somda.sdc.biceps.model.participant.AbstractDeviceComponentDescriptor
-
- org.somda.sdc.biceps.model.participant.BatteryDescriptor
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
public class BatteryDescriptor extends AbstractDeviceComponentDescriptor implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
For battery-powered devices, battery information can be contained in this object.Java class for BatteryDescriptor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BatteryDescriptor"> <complexContent> <extension base="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AbstractDeviceComponentDescriptor"> <sequence> <element name="CapacityFullCharge" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}Measurement" minOccurs="0"/> <element name="CapacitySpecified" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}Measurement" minOccurs="0"/> <element name="VoltageSpecified" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}Measurement" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.somda.sdc.biceps.model.participant.AbstractDeviceComponentDescriptor
AbstractDeviceComponentDescriptor.ProductionSpecification
-
-
Field Summary
Fields Modifier and Type Field Description protected MeasurementcapacityFullChargeprotected MeasurementcapacitySpecifiedprotected MeasurementvoltageSpecified-
Fields inherited from class org.somda.sdc.biceps.model.participant.AbstractDeviceComponentDescriptor
productionSpecification
-
Fields inherited from class org.somda.sdc.biceps.model.participant.AbstractDescriptor
descriptorVersion, extension, handle, safetyClassification, type
-
-
Constructor Summary
Constructors Constructor Description BatteryDescriptor()
-
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)MeasurementgetCapacityFullCharge()Gets the value of the capacityFullCharge property.MeasurementgetCapacitySpecified()Gets the value of the capacitySpecified property.MeasurementgetVoltageSpecified()Gets the value of the voltageSpecified property.inthashCode()voidsetCapacityFullCharge(Measurement value)Sets the value of the capacityFullCharge property.voidsetCapacitySpecified(Measurement value)Sets the value of the capacitySpecified property.voidsetVoltageSpecified(Measurement value)Sets the value of the voltageSpecified property.StringtoString()-
Methods inherited from class org.somda.sdc.biceps.model.participant.AbstractDeviceComponentDescriptor
getProductionSpecification, setProductionSpecification
-
Methods inherited from class org.somda.sdc.biceps.model.participant.AbstractDescriptor
getDescriptorVersion, getExtension, getHandle, getSafetyClassification, getType, setDescriptorVersion, setExtension, setHandle, setSafetyClassification, setType
-
-
-
-
Field Detail
-
capacityFullCharge
protected Measurement capacityFullCharge
-
capacitySpecified
protected Measurement capacitySpecified
-
voltageSpecified
protected Measurement voltageSpecified
-
-
Method Detail
-
getCapacityFullCharge
public Measurement getCapacityFullCharge()
Gets the value of the capacityFullCharge property.- Returns:
- possible object is
Measurement
-
setCapacityFullCharge
public void setCapacityFullCharge(Measurement value)
Sets the value of the capacityFullCharge property.- Parameters:
value- allowed object isMeasurement
-
getCapacitySpecified
public Measurement getCapacitySpecified()
Gets the value of the capacitySpecified property.- Returns:
- possible object is
Measurement
-
setCapacitySpecified
public void setCapacitySpecified(Measurement value)
Sets the value of the capacitySpecified property.- Parameters:
value- allowed object isMeasurement
-
getVoltageSpecified
public Measurement getVoltageSpecified()
Gets the value of the voltageSpecified property.- Returns:
- possible object is
Measurement
-
setVoltageSpecified
public void setVoltageSpecified(Measurement value)
Sets the value of the voltageSpecified property.- Parameters:
value- allowed object isMeasurement
-
clone
public Object clone()
- Overrides:
clonein classAbstractDeviceComponentDescriptor
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
copyToin classAbstractDeviceComponentDescriptor
-
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- Overrides:
copyToin classAbstractDeviceComponentDescriptor
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
createNewInstancein classAbstractDeviceComponentDescriptor
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractDeviceComponentDescriptor
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractDeviceComponentDescriptor
-
toString
public String toString()
- Overrides:
toStringin classAbstractDeviceComponentDescriptor
-
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- Overrides:
appendin classAbstractDeviceComponentDescriptor
-
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- Overrides:
appendFieldsin classAbstractDeviceComponentDescriptor
-
-