Package wt.effectivity
Class UnitEffectivity
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.effectivity._UnitEffectivity
wt.effectivity.UnitEffectivity
- All Implemented Interfaces:
Externalizable,Serializable,wt.eff._Eff,wt.eff._EffRecord,wt.eff._StringEff,Eff,EffRecord,wt.eff.form._EffForm,EffForm,StringEff,wt.effectivity._Effectivity,Effectivity,wt.esi._Releasable,Releasable,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,NetFactor,ObjectMappable,Persistable,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,DisplayIdentification,wt.ufid._Federatable,wt.ufid.Federatable
- Direct Known Subclasses:
wt.effectivity._WTLotEffectivity,wt.effectivity._WTSerialNumberedEffectivity
@GenAsPersistable(superClass=WTObject.class,interfaces={Effectivity.class,StringEff.class},extendable=true,properties=@GeneratedProperty(name="range",type=LeftFilledStringEffRange.class,supportedAPI=PUBLIC,constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(columnName="E")),foreignKeys=@GeneratedForeignKey(myRoleIsRoleA=true,foreignKeyRole=@ForeignKeyRole(name="effContext",type=ConfigurationItem.class,supportedAPI=PUBLIC,cascade=false,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="eff",supportedAPI=PUBLIC,cascade=false)),derivedProperties={@DerivedProperty(name="startNumber",derivedFrom="range.start"),@DerivedProperty(name="endNumber",derivedFrom="range.end")})
public abstract class UnitEffectivity
extends _UnitEffectivity
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
Supported API: true
Extendable: true
- See Also:
-
Field Summary
Fields inherited from class wt.effectivity._UnitEffectivity
RANGE -
Method Summary
Modifier and TypeMethodDescriptionvoidsetEffContext(EffContext the_effContext) The context, constrained as an EffConfigurationItem.voidsetTarget(EffRecordable a_Target) Sets the object for the association that plays role: TARGET.Methods inherited from class wt.effectivity._UnitEffectivity
getEffContext, getEffContextReference, getRange, getTarget, getTargetReference, setEffContextReference, setRange, setTargetReferenceMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.eff.EffRecord
getAdditionalAttributeMap, setAdditionalAttributeMap
-
Method Details
-
setTarget
Sets the object for the association that plays role: TARGET.
Supported API: true- Specified by:
setTargetin interfacewt.eff._EffRecord- Specified by:
setTargetin interfaceEff- Overrides:
setTargetin class_UnitEffectivity- Parameters:
a_Target-- Throws:
WTPropertyVetoExceptionWTException- See Also:
-
setEffContext
The context, constrained as an EffConfigurationItem. Note that the context is required by this Eff.Supported API: true
- Specified by:
setEffContextin interfacewt.eff.form._EffForm- Overrides:
setEffContextin class_UnitEffectivity- Throws:
WTPropertyVetoExceptionWTException- See Also:
-