Class ClockState

  • All Implemented Interfaces:
    Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2

    public class ClockState
    extends AbstractDeviceComponentState
    implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
    State of a clock of an MDS.

    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://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AbstractDeviceComponentState">
           <sequence>
             <element name="ActiveSyncProtocol" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}CodedValue" minOccurs="0"/>
             <element name="ReferenceSource" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="DateAndTime" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}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://standards.ieee.org/downloads/11073/11073-10207-2017/participant}Timestamp" />
           <attribute name="TimeZone" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}TimeZone" />
           <attribute name="CriticalUse" type="{http://www.w3.org/2001/XMLSchema}boolean" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • activeSyncProtocol

        protected CodedValue activeSyncProtocol
      • referenceSource

        protected List<String> referenceSource
      • dateAndTime

        protected Instant dateAndTime
      • remoteSync

        protected boolean remoteSync
      • lastSet

        protected Instant lastSet
      • timeZone

        protected String timeZone
      • criticalUse

        protected Boolean criticalUse
    • Constructor Detail

      • ClockState

        public ClockState()
    • Method Detail

      • getActiveSyncProtocol

        public CodedValue getActiveSyncProtocol()
        Gets the value of the activeSyncProtocol property.
        Returns:
        possible object is CodedValue
      • setActiveSyncProtocol

        public void setActiveSyncProtocol​(CodedValue value)
        Sets the value of the activeSyncProtocol property.
        Parameters:
        value - allowed object is CodedValue
      • getReferenceSource

        public List<String> getReferenceSource()
        Gets the value of the referenceSource property.

        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

      • getDateAndTime

        public Instant getDateAndTime()
        Gets the value of the dateAndTime property.
        Returns:
        possible object is String
      • setDateAndTime

        public void setDateAndTime​(Instant value)
        Sets the value of the dateAndTime property.
        Parameters:
        value - allowed object is String
      • isRemoteSync

        public boolean isRemoteSync()
        Gets the value of the remoteSync property.
      • setRemoteSync

        public void setRemoteSync​(boolean value)
        Sets the value of the remoteSync property.
      • getAccuracy

        public BigDecimal getAccuracy()
        Gets the value of the accuracy property.
        Returns:
        possible object is BigDecimal
      • setAccuracy

        public void setAccuracy​(BigDecimal value)
        Sets the value of the accuracy property.
        Parameters:
        value - allowed object is BigDecimal
      • getLastSet

        public Instant getLastSet()
        Gets the value of the lastSet property.
        Returns:
        possible object is String
      • setLastSet

        public void setLastSet​(Instant value)
        Sets the value of the lastSet property.
        Parameters:
        value - allowed object is String
      • getTimeZone

        public String getTimeZone()
        Gets the value of the timeZone property.
        Returns:
        possible object is String
      • setTimeZone

        public void setTimeZone​(String value)
        Sets the value of the timeZone property.
        Parameters:
        value - allowed object is String
      • isCriticalUse

        public Boolean isCriticalUse()
        Gets the value of the criticalUse property.
        Returns:
        possible object is Boolean
      • setCriticalUse

        public void setCriticalUse​(Boolean value)
        Sets the value of the criticalUse property.
        Parameters:
        value - allowed object is Boolean
      • setReferenceSource

        public void setReferenceSource​(List<String> value)
      • copyTo

        public Object copyTo​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                             Object target,
                             org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
        Overrides:
        copyTo in class AbstractDeviceComponentState
      • append

        public StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        append in class AbstractDeviceComponentState
      • appendFields

        public StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                          StringBuilder buffer,
                                          org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        appendFields in class AbstractDeviceComponentState