Class AbstractPeriodObjectModel

java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.chrono.hci.AbstractPeriodObjectModel
All Implemented Interfaces:
IPeriodObjectModel, ITagNameProvider, IXMLMarshallable, XMLMarshallable
Direct Known Subclasses:
RangeTablePeriodObjectModel

public abstract class AbstractPeriodObjectModel extends HCIModelAdapter implements IPeriodObjectModel
This abstract Java class defines a period that represents an object that is valid upon a certain period of time; It has an XML representation.

Important Note

The timestamps can be null, meaning that the object has no defined starting and/or ending.

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:complexType name="AbstractPeriodObjectType">
   <xs:attribute name="start" type="xs:dateTime"/>
   <xs:attribute name="end" type="xs:dateTime"/>
 </xs:complexType>

  • Field Details

  • Constructor Details

    • AbstractPeriodObjectModel

      public AbstractPeriodObjectModel()
      Builds an empty period object.
    • AbstractPeriodObjectModel

      public AbstractPeriodObjectModel(Date start, Date end)
      Builds a full period object.
      Parameters:
      start - The start date for the element
      end - The end date for the element
  • Method Details