wt.eff
Class DateEffRange

java.lang.Object
  extended by wt.eff.DateEffRange
All Implemented Interfaces:
Externalizable, Serializable, EffRange, NetFactor, ObjectMappable

public class DateEffRange
extends Object
implements EffRange, Externalizable

A range using Timestamps.

Use the newDateEffRange static factory method(s), not the DateEffRange constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
static String END
          Label for the attribute; The end value, constrained as a Timestamp.
static String START
          Label for the attribute; The start value, constrained as a Timestamp.
 
Method Summary
 Serializable getEnd()
          Gets the value of the attribute: END.
 Serializable getStart()
          Gets the value of the attribute: START.
protected  void initialize(Timestamp startValue)
          Supports initialization, following construction of an instance.
protected  void initialize(Timestamp startValue, Timestamp endValue)
          Supports initialization, following construction of an instance.
static DateEffRange newDateEffRange(Timestamp startValue)
          Factory which sets the start value.
static DateEffRange newDateEffRange(Timestamp startValue, Timestamp endValue)
          Factory which sets the start and end value

Supported API: true
 void setEnd(Serializable a_End)
          Sets the value of the attribute: END.
 void setStart(Serializable a_Start)
          Sets the value of the attribute: START.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

START

public static final String START
Label for the attribute; The start value, constrained as a Timestamp.

Supported API: true

See Also:
Constant Field Values

END

public static final String END
Label for the attribute; The end value, constrained as a Timestamp.

Supported API: true

See Also:
Constant Field Values
Method Detail

getStart

public Serializable getStart()
Gets the value of the attribute: START. The start value, constrained as a Timestamp.

Supported API: true

Specified by:
getStart in interface EffRange
Returns:
Serializable

setStart

public void setStart(Serializable a_Start)
              throws WTPropertyVetoException
Sets the value of the attribute: START. The start value, constrained as a Timestamp.

Supported API: true

Specified by:
setStart in interface EffRange
Parameters:
a_Start -
Throws:
WTPropertyVetoException

getEnd

public Serializable getEnd()
Gets the value of the attribute: END. The end value, constrained as a Timestamp.

Supported API: true

Specified by:
getEnd in interface EffRange
Returns:
Serializable

setEnd

public void setEnd(Serializable a_End)
            throws WTPropertyVetoException
Sets the value of the attribute: END. The end value, constrained as a Timestamp.

Supported API: true

Specified by:
setEnd in interface EffRange
Parameters:
a_End -
Throws:
WTPropertyVetoException

newDateEffRange

public static DateEffRange newDateEffRange(Timestamp startValue,
                                           Timestamp endValue)
                                    throws WTPropertyVetoException
Factory which sets the start and end value

Supported API: true

Parameters:
startValue -
endValue -
Returns:
DateEffRange
Throws:
WTPropertyVetoException

initialize

protected void initialize(Timestamp startValue,
                          Timestamp endValue)
                   throws WTPropertyVetoException
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

Supported API: true

Parameters:
startValue -
endValue -
Throws:
WTPropertyVetoException

newDateEffRange

public static DateEffRange newDateEffRange(Timestamp startValue)
                                    throws WTPropertyVetoException
Factory which sets the start value. The end is left null.

Supported API: true

Parameters:
startValue -
Returns:
DateEffRange
Throws:
WTPropertyVetoException

initialize

protected void initialize(Timestamp startValue)
                   throws WTPropertyVetoException
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.

Supported API: true

Parameters:
startValue -
Throws:
WTPropertyVetoException