public class ClockDescriptor extends AbstractDeviceComponentDescriptor
Java class for ClockDescriptor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ClockDescriptor">
<complexContent>
<extension base="{http://p11073-10207/draft10/pm/2017/10/05}AbstractDeviceComponentDescriptor">
<sequence>
<element name="TimeProtocol" type="{http://p11073-10207/draft10/pm/2017/10/05}CodedValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Resolution" type="{http://www.w3.org/2001/XMLSchema}duration" />
</extension>
</complexContent>
</complexType>
AbstractDeviceComponentDescriptor.ProductionSpecification| Modifier and Type | Field and Description |
|---|---|
protected Duration |
resolution |
protected List<CodedValue> |
timeProtocol |
productionSpecificationdescriptorVersion, extension, handle, safetyClassification, type| Constructor and Description |
|---|
ClockDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
Duration |
getResolution()
Gets the value of the resolution property.
|
List<CodedValue> |
getTimeProtocol()
Gets the value of the timeProtocol property.
|
int |
hashCode() |
void |
setResolution(Duration value)
Sets the value of the resolution property.
|
void |
setTimeProtocol(List<CodedValue> value) |
String |
toString() |
getProductionSpecification, setProductionSpecificationgetDescriptorVersion, getExtension, getHandle, getSafetyClassification, getType, setDescriptorVersion, setExtension, setHandle, setSafetyClassification, setTypeprotected List<CodedValue> timeProtocol
protected Duration resolution
public List<CodedValue> getTimeProtocol()
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 timeProtocol property.
For example, to add a new item, do as follows:
getTimeProtocol().add(newItem);
Objects of the following type(s) are allowed in the list
CodedValue
public Duration getResolution()
Durationpublic void setResolution(Duration value)
value - allowed object is
Durationpublic void setTimeProtocol(List<CodedValue> value)
public String toString()
toString in class AbstractDeviceComponentDescriptorpublic boolean equals(Object that)
equals in class AbstractDeviceComponentDescriptorpublic int hashCode()
hashCode in class AbstractDeviceComponentDescriptorCopyright © 2018. All rights reserved.