wt.effectivity
Class UnitEffectivity

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

public abstract class UnitEffectivity
extends WTObject
implements wt.effectivity.Effectivity, StringEff, Externalizable

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

Supported API: true

Extendable: true

See Also:
Effectivity, Serialized Form

Field Summary
static String EFF_CONTEXT
          Label for the attribute.
static String EFF_CONTEXT_REFERENCE
          Label for the attribute.
static String RANGE
          Label for the attribute.
static String TARGET
          Label for the attribute.
 
Method Summary
 EffContext getEffContext()
          Gets the object for the association that plays role: EFF_CONTEXT.
 ObjectReference getEffContextReference()
          Gets the value of the attribute: EFF_CONTEXT_REFERENCE.
 EffRange getRange()
          Gets the object for the association that plays role: RANGE.
 EffRecordable getTarget()
          Gets the object for the association that plays role: TARGET.
 WTReference getTargetReference()
          Gets the value of the attribute: TARGET_REFERENCE.
 void setEffContext(EffContext a_EffContext)
          Sets the object for the association that plays role: EFF_CONTEXT.
 void setEffContextReference(ObjectReference a_EffContextReference)
          Sets the value of the attribute: EFF_CONTEXT_REFERENCE.
 void setRange(EffRange a_Range)
          Sets the object for the association that plays role: RANGE.
 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

RANGE

public static final String RANGE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

EFF_CONTEXT

public static final String EFF_CONTEXT
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

EFF_CONTEXT_REFERENCE

public static final String EFF_CONTEXT_REFERENCE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

TARGET

public static final String TARGET
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getRange

public EffRange getRange()
Gets the object for the association that plays role: RANGE.

Supported API: true

Specified by:
getRange in interface StringEff
Returns:
EffRange

setRange

public void setRange(EffRange a_Range)
              throws WTPropertyVetoException
Sets the object for the association that plays role: RANGE.

Supported API: true

Specified by:
setRange in interface StringEff
Parameters:
a_Range -
Throws:
WTPropertyVetoException

getEffContext

public EffContext getEffContext()
Gets the object for the association that plays role: EFF_CONTEXT.

Supported API: true

Returns:
EffContext

setEffContext

public void setEffContext(EffContext a_EffContext)
                   throws WTPropertyVetoException,
                          WTException
Sets the object for the association that plays role: EFF_CONTEXT.

Supported API: true

Parameters:
a_EffContext -
Throws:
WTPropertyVetoException
WTException

getEffContextReference

public ObjectReference getEffContextReference()
Gets the value of the attribute: EFF_CONTEXT_REFERENCE.

Supported API: true

Returns:
ObjectReference

setEffContextReference

public void setEffContextReference(ObjectReference a_EffContextReference)
                            throws WTPropertyVetoException
Sets the value of the attribute: EFF_CONTEXT_REFERENCE.

Supported API: true

Parameters:
a_EffContextReference -
Throws:
WTPropertyVetoException

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