Class Availability

java.lang.Object
org.javastro.ivoa.entities.vosi.availability.Availability
All Implemented Interfaces:
com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, Cloneable, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public class Availability extends Object implements Cloneable, com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString

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 Details

    • available

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") protected boolean available
      Indicates whether the service is currently available.
    • upSince

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") protected LocalDateTime upSince
      The instant at which the service last became available.
    • downAt

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") protected LocalDateTime downAt
      The instant at which the service is next scheduled to become unavailable.
    • backAt

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") protected LocalDateTime backAt
      The instant at which the service is scheduled to become available again after a period of unavailability.
    • notes

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") protected List<String> notes
      A textual note concerning availability.
    • __cachedModifier__

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") protected transient Availability.Modifier __cachedModifier__
  • Constructor Details

    • Availability

      public Availability()
      Default no-arg constructor
    • Availability

      public Availability(boolean available, LocalDateTime upSince, LocalDateTime downAt, LocalDateTime backAt, List<String> notes)
      Fully-initialising value constructor
  • Method Details

    • isAvailable

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public boolean isAvailable()
      Indicates whether the service is currently available.
    • setAvailable

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public void setAvailable(boolean value)
      Sets the value of the available property.
    • getUpSince

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public LocalDateTime getUpSince()
      The instant at which the service last became available.
      Returns:
      possible object is String
    • setUpSince

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public void setUpSince(LocalDateTime value)
      Sets the value of the upSince property.
      Parameters:
      value - allowed object is String
      See Also:
    • getDownAt

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public LocalDateTime getDownAt()
      The instant at which the service is next scheduled to become unavailable.
      Returns:
      possible object is String
    • setDownAt

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public void setDownAt(LocalDateTime value)
      Sets the value of the downAt property.
      Parameters:
      value - allowed object is String
      See Also:
    • getBackAt

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public LocalDateTime getBackAt()
      The instant at which the service is scheduled to become available again after a period of unavailability.
      Returns:
      possible object is String
    • setBackAt

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public void setBackAt(LocalDateTime value)
      Sets the value of the backAt property.
      Parameters:
      value - allowed object is String
      See Also:
    • getNotes

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public List<String> getNotes()
      A textual note concerning availability. Gets the value of the notes 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 notes property.

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

       getNotes().add(newItem);
       

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

      Returns:
      The value of the notes property.
    • equals

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public String toString()
      Overrides:
      toString in class Object
    • append

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
    • appendFields

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb.lang.ToString
    • mergeFrom

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public void mergeFrom(Object left, Object right)
      Specified by:
      mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
    • mergeFrom

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)
      Specified by:
      mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
    • createNewInstance

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.MergeFrom
    • clone

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public Availability clone()
      Overrides:
      clone in class Object
    • createCopy

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public Availability createCopy()
      Specified by:
      createCopy in interface com.kscs.util.jaxb.Copyable
    • createCopy

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public Availability createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
      Specified by:
      createCopy in interface com.kscs.util.jaxb.PartialCopyable
    • copyExcept

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public Availability copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree)
      Specified by:
      copyExcept in interface com.kscs.util.jaxb.PartialCopyable
    • copyOnly

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public Availability copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree)
      Specified by:
      copyOnly in interface com.kscs.util.jaxb.PartialCopyable
    • modifier

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public Availability.Modifier modifier()
    • copyTo

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public <_B> void copyTo(Availability.Builder<_B> _other)
      Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.
      Parameters:
      _other - A builder instance to which the state of this object will be copied.
    • newCopyBuilder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public <_B> Availability.Builder<_B> newCopyBuilder(_B _parentBuilder)
    • newCopyBuilder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public Availability.Builder<Void> newCopyBuilder()
    • builder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public static Availability.Builder<Void> builder()
    • copyOf

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public static <_B> Availability.Builder<_B> copyOf(Availability _other)
    • copyTo

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public <_B> void copyTo(Availability.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
      Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.
      Parameters:
      _other - A builder instance to which the state of this object will be copied.
    • newCopyBuilder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public <_B> Availability.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
    • newCopyBuilder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public Availability.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
    • copyOf

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public static <_B> Availability.Builder<_B> copyOf(Availability _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
    • copyExcept

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public static Availability.Builder<Void> copyExcept(Availability _other, com.kscs.util.jaxb.PropertyTree _propertyTree)
    • copyOnly

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public static Availability.Builder<Void> copyOnly(Availability _other, com.kscs.util.jaxb.PropertyTree _propertyTree)
    • visit

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public Availability visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)