public class ClockDescriptor extends Descriptor
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://domain-model-uri/15/04}AbstractDescriptor">
<sequence>
<element name="TimeProtocol" type="{http://domain-model-uri/15/04}CodedValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Resolution" type="{http://www.w3.org/2001/XMLSchema}duration" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
resolution |
protected List<CodedValue> |
timeProtocols |
descriptorVersion, extension, handle, intendedUse, type| Constructor and Description |
|---|
ClockDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
Duration |
getResolution()
Gets the value of the resolution property.
|
List<CodedValue> |
getTimeProtocols()
Gets the value of the timeProtocols property.
|
void |
setResolution(Duration value)
Sets the value of the resolution property.
|
void |
setTimeProtocols(List<CodedValue> value) |
getDescriptorVersion, getExtension, getHandle, getIntendedUse, getType, setDescriptorVersion, setExtension, setHandle, setIntendedUse, setTypeprotected List<CodedValue> timeProtocols
protected Duration resolution
public List<CodedValue> getTimeProtocols()
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 timeProtocols property.
For example, to add a new item, do as follows:
getTimeProtocols().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 setTimeProtocols(List<CodedValue> value)
Copyright © 2016. All rights reserved.