wt.effectivity
Class DatedEffectivity

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.effectivity.DatedEffectivity
All Implemented Interfaces:
Externalizable, Serializable, Eff, EffRecord, DateEffForm, EffForm, wt.effectivity.Effectivity, NetFactor, ObjectMappable, Persistable, DisplayIdentification
Direct Known Subclasses:
WTDatedEffectivity

public abstract class DatedEffectivity
extends WTObject
implements DateEffForm, wt.effectivity.Effectivity, Externalizable

Abstract class representing a date based effectivity. All effectivity types which result from specializing this class contain a start date and end date, and represent the time span during which some item is effective.

Supported API: true

Extendable: true

See Also:
Effectivity, Serialized Form

Field Summary
static String TARGET
          Label for the attribute.
 
Method Summary
 EffRecordable getTarget()
          Gets the object for the association that plays role: TARGET.
 WTReference getTargetReference()
          Gets the value of the attribute: TARGET_REFERENCE.
 void setTarget(EffRecordable a_Target)
          Sets the object for the association that plays role: TARGET.
 void setTargetReference(WTReference a_TargetReference)
          Sets the value of the attribute: TARGET_REFERENCE.
 
Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TARGET

public static final String TARGET
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getTarget

public EffRecordable getTarget()
Gets the object for the association that plays role: TARGET.

Supported API: true

Specified by:
getTarget in interface Eff
Returns:
EffRecordable

setTarget

public void setTarget(EffRecordable a_Target)
               throws WTPropertyVetoException,
                      WTException
Sets the object for the association that plays role: TARGET.

Supported API: true

Specified by:
setTarget in interface Eff
Parameters:
a_Target -
Throws:
WTPropertyVetoException
WTException

getTargetReference

public WTReference getTargetReference()
Gets the value of the attribute: TARGET_REFERENCE.

Supported API: true

Specified by:
getTargetReference in interface Eff
Returns:
WTReference

setTargetReference

public void setTargetReference(WTReference a_TargetReference)
                        throws WTPropertyVetoException
Sets the value of the attribute: TARGET_REFERENCE.

Supported API: true

Specified by:
setTargetReference in interface Eff
Parameters:
a_TargetReference -
Throws:
WTPropertyVetoException