public class ClockState extends AbstractDeviceComponentState
Java class for ClockState complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ClockState">
<complexContent>
<extension base="{http://p11073-10207/draft10/pm/2017/10/05}AbstractDeviceComponentState">
<sequence>
<element name="ActiveSyncProtocol" type="{http://p11073-10207/draft10/pm/2017/10/05}CodedValue" minOccurs="0"/>
<element name="ReferenceSource" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="DateAndTime" type="{http://p11073-10207/draft10/pm/2017/10/05}Timestamp" />
<attribute name="RemoteSync" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="Accuracy" type="{http://www.w3.org/2001/XMLSchema}decimal" />
<attribute name="LastSet" type="{http://p11073-10207/draft10/pm/2017/10/05}Timestamp" />
<attribute name="TimeZone" type="{http://p11073-10207/draft10/pm/2017/10/05}TimeZone" />
<attribute name="CriticalUse" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
accuracy |
protected CodedValue |
activeSyncProtocol |
protected Boolean |
criticalUse |
protected BigInteger |
dateAndTime |
protected BigInteger |
lastSet |
protected List<String> |
referenceSource |
protected boolean |
remoteSync |
protected String |
timeZone |
activationState, calibrationInfo, nextCalibration, operatingCycles, operatingHours, physicalConnectordescriptorHandle, descriptorVersion, extension, stateVersion| Constructor and Description |
|---|
ClockState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
BigDecimal |
getAccuracy()
Gets the value of the accuracy property.
|
CodedValue |
getActiveSyncProtocol()
Gets the value of the activeSyncProtocol property.
|
BigInteger |
getDateAndTime()
Gets the value of the dateAndTime property.
|
BigInteger |
getLastSet()
Gets the value of the lastSet property.
|
List<String> |
getReferenceSource()
Gets the value of the referenceSource property.
|
String |
getTimeZone()
Gets the value of the timeZone property.
|
int |
hashCode() |
Boolean |
isCriticalUse()
Gets the value of the criticalUse property.
|
boolean |
isRemoteSync()
Gets the value of the remoteSync property.
|
void |
setAccuracy(BigDecimal value)
Sets the value of the accuracy property.
|
void |
setActiveSyncProtocol(CodedValue value)
Sets the value of the activeSyncProtocol property.
|
void |
setCriticalUse(Boolean value)
Sets the value of the criticalUse property.
|
void |
setDateAndTime(BigInteger value)
Sets the value of the dateAndTime property.
|
void |
setLastSet(BigInteger value)
Sets the value of the lastSet property.
|
void |
setReferenceSource(List<String> value) |
void |
setRemoteSync(boolean value)
Sets the value of the remoteSync property.
|
void |
setTimeZone(String value)
Sets the value of the timeZone property.
|
String |
toString() |
getActivationState, getCalibrationInfo, getNextCalibration, getOperatingCycles, getOperatingHours, getPhysicalConnector, setActivationState, setCalibrationInfo, setNextCalibration, setOperatingCycles, setOperatingHours, setPhysicalConnectorgetDescriptorHandle, getDescriptorVersion, getExtension, getStateVersion, setDescriptorHandle, setDescriptorVersion, setExtension, setStateVersionprotected CodedValue activeSyncProtocol
protected BigInteger dateAndTime
protected boolean remoteSync
protected BigDecimal accuracy
protected BigInteger lastSet
protected String timeZone
protected Boolean criticalUse
public CodedValue getActiveSyncProtocol()
CodedValuepublic void setActiveSyncProtocol(CodedValue value)
value - allowed object is
CodedValuepublic List<String> getReferenceSource()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the referenceSource property.
For example, to add a new item, do as follows:
getReferenceSource().add(newItem);
Objects of the following type(s) are allowed in the list
String
public BigInteger getDateAndTime()
BigIntegerpublic void setDateAndTime(BigInteger value)
value - allowed object is
BigIntegerpublic boolean isRemoteSync()
public void setRemoteSync(boolean value)
public BigDecimal getAccuracy()
BigDecimalpublic void setAccuracy(BigDecimal value)
value - allowed object is
BigDecimalpublic BigInteger getLastSet()
BigIntegerpublic void setLastSet(BigInteger value)
value - allowed object is
BigIntegerpublic String getTimeZone()
Stringpublic void setTimeZone(String value)
value - allowed object is
Stringpublic Boolean isCriticalUse()
Booleanpublic void setCriticalUse(Boolean value)
value - allowed object is
Booleanpublic String toString()
toString in class AbstractDeviceComponentStatepublic boolean equals(Object that)
equals in class AbstractDeviceComponentStatepublic int hashCode()
hashCode in class AbstractDeviceComponentStateCopyright © 2018. All rights reserved.