net.ivoa.xml.vosiavailability.v1
Class Availability

java.lang.Object
  extended by net.ivoa.xml.vosiavailability.v1.Availability

public class Availability
extends java.lang.Object

Java class for Availability complex type.

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

 <complexType name="Availability">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="available" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="upSince" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="downAt" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="backAt" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="note" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  boolean available
           
protected  javax.xml.datatype.XMLGregorianCalendar backAt
           
protected  javax.xml.datatype.XMLGregorianCalendar downAt
           
protected  java.util.List<java.lang.String> note
           
protected  javax.xml.datatype.XMLGregorianCalendar upSince
           
 
Constructor Summary
Availability()
           
 
Method Summary
 javax.xml.datatype.XMLGregorianCalendar getBackAt()
          Gets the value of the backAt property.
 javax.xml.datatype.XMLGregorianCalendar getDownAt()
          Gets the value of the downAt property.
 java.util.List<java.lang.String> getNote()
          Gets the value of the note property.
 javax.xml.datatype.XMLGregorianCalendar getUpSince()
          Gets the value of the upSince property.
 boolean isAvailable()
          Gets the value of the available property.
 void setAvailable(boolean value)
          Sets the value of the available property.
 void setBackAt(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the backAt property.
 void setDownAt(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the downAt property.
 void setUpSince(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the upSince property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

available

protected boolean available

upSince

protected javax.xml.datatype.XMLGregorianCalendar upSince

downAt

protected javax.xml.datatype.XMLGregorianCalendar downAt

backAt

protected javax.xml.datatype.XMLGregorianCalendar backAt

note

protected java.util.List<java.lang.String> note
Constructor Detail

Availability

public Availability()
Method Detail

isAvailable

public boolean isAvailable()
Gets the value of the available property.


setAvailable

public void setAvailable(boolean value)
Sets the value of the available property.


getUpSince

public javax.xml.datatype.XMLGregorianCalendar getUpSince()
Gets the value of the upSince property.

Returns:
possible object is XMLGregorianCalendar

setUpSince

public void setUpSince(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the upSince property.

Parameters:
value - allowed object is XMLGregorianCalendar

getDownAt

public javax.xml.datatype.XMLGregorianCalendar getDownAt()
Gets the value of the downAt property.

Returns:
possible object is XMLGregorianCalendar

setDownAt

public void setDownAt(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the downAt property.

Parameters:
value - allowed object is XMLGregorianCalendar

getBackAt

public javax.xml.datatype.XMLGregorianCalendar getBackAt()
Gets the value of the backAt property.

Returns:
possible object is XMLGregorianCalendar

setBackAt

public void setBackAt(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the backAt property.

Parameters:
value - allowed object is XMLGregorianCalendar

getNote

public java.util.List<java.lang.String> getNote()
Gets the value of the note 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 note property.

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

    getNote().add(newItem);
 

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



Copyright © 2011 VAMDC. All Rights Reserved.