Class CapabilitiesInfoType

java.lang.Object
ietf.params.xml.ns.timezone_service.CapabilitiesInfoType

public class CapabilitiesInfoType extends Object
The element used as the container for information about the servers source of data and contacts.

Java class for CapabilitiesInfoType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CapabilitiesInfoType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice>
           <element name="source" type="{http://www.w3.org/2001/XMLSchema}string"/>
           <element name="primary-source" type="{http://www.w3.org/2001/XMLSchema}string"/>
         </choice>
         <element name="contact" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • source

      protected String source
    • primarySource

      protected String primarySource
    • contact

      protected List<String> contact
  • Constructor Details

    • CapabilitiesInfoType

      public CapabilitiesInfoType()
  • Method Details

    • getSource

      public String getSource()
      Gets the value of the source property.
      Returns:
      possible object is String
    • setSource

      public void setSource(String value)
      Sets the value of the source property.
      Parameters:
      value - allowed object is String
    • getPrimarySource

      public String getPrimarySource()
      Gets the value of the primarySource property.
      Returns:
      possible object is String
    • setPrimarySource

      public void setPrimarySource(String value)
      Sets the value of the primarySource property.
      Parameters:
      value - allowed object is String
    • getContact

      public List<String> getContact()
      Gets the value of the contact 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 contact property.

      For example, to add a new item, do as follows:

          getContact().add(newItem);
       

      Objects of the following type(s) are allowed in the list String