All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface tadt.standard.Anchorable

public interface Anchorable
The Anchorable interface provides a set of basic operations available on Anchorable values such as instants and periods.


Method Index

 o asInstantArray()
Retrieve the Instants from this AnchorablePoint.
 o asPeriodArray()
Retrieve the Periods from this AnchorableSegment.
 o earliestInstant()
Returns the earliest Instant in the AnchorablePoint.
 o earliestPeriod()
Returns the earliest Period in the AnchorableSegment.
 o enumerateInstants()
Create an Enumeration of Instants on the Anchorable.
 o enumeratePeriods()
Create an Enumeration of Periods on the Anchorable.
 o equals(Anchorable)
Test for equality, needed only for supporting Hashtables, use equalTo for comparing Anchorables directly.
 o hashCode()
Generate the hash code value, needed for supporting Hashtables.
 o image()
Build a nice string image of an Anchorable, for debugging mostly.
 o kind()
What kind of Anchorable is this?
 o latestInstant()
Returns the latest AnchorablePoint in the AnchorablePoint.
 o latestPeriod()
Returns the latest Period in the AnchorableSegment.
 o newInstance(String, Instant[])
Construct a new instance of this Anchorable, Unanchorable combination.
 o newInstance(String, Period[])
Construct a new instance of this Anchorable, Unanchorable combination.

Methods

 o image
  public abstract String image()
Build a nice string image of an Anchorable, for debugging mostly.

Returns:
String image
 o hashCode
  public abstract int hashCode()
Generate the hash code value, needed for supporting Hashtables.

Returns:
hash code value
Overrides:
hashCode in class Object
 o equals
  public abstract boolean equals(Anchorable beta)
Test for equality, needed only for supporting Hashtables, use equalTo for comparing Anchorables directly.

Returns:
true or false
 o enumerateInstants
  public abstract Enumeration enumerateInstants()
Create an Enumeration of Instants on the Anchorable.

 o enumeratePeriods
  public abstract Enumeration enumeratePeriods()
Create an Enumeration of Periods on the Anchorable.

 o kind
  public abstract String kind()
What kind of Anchorable is this?

Returns:
- String as name of Anchorable, OK this is cheesy...
 o earliestInstant
  public abstract Instant earliestInstant()
Returns the earliest Instant in the AnchorablePoint.

Returns:
Instant - the earliest Instant in the AnchorablePoint
 o latestInstant
  public abstract Instant latestInstant()
Returns the latest AnchorablePoint in the AnchorablePoint.

Returns:
Instant - the latest Instant in the AnchorablePoint
 o asInstantArray
  public abstract Instant[] asInstantArray()
Retrieve the Instants from this AnchorablePoint.

Returns:
- array of all the Instants in the AnchorablePoint
 o newInstance
  public abstract Anchorable newInstance(String beta,
                                         Instant i[])
Construct a new instance of this Anchorable, Unanchorable combination.

Returns:
- possible a new Anchorable
 o earliestPeriod
  public abstract Period earliestPeriod()
Returns the earliest Period in the AnchorableSegment.

Returns:
Period - the earliest Period
 o latestPeriod
  public abstract Period latestPeriod()
Returns the latest Period in the AnchorableSegment.

Returns:
Period - the latest Period
 o asPeriodArray
  public abstract Period[] asPeriodArray()
Retrieve the Periods from this AnchorableSegment.

Returns:
- array of all the Periods in the AnchorableSegment
 o newInstance
  public abstract Anchorable newInstance(String beta,
                                         Period i[])
Construct a new instance of this Anchorable, Unanchorable combination.

Returns:
- possible a new Anchorable

All Packages  Class Hierarchy  This Package  Previous  Next  Index