Package wt.eff
Interface Eff
- All Superinterfaces:
wt.fc.adminlock._AdministrativelyLockable,wt.eff._Eff,wt.eff.form._EffForm,wt.eff._EffRecord,wt.ufid._Federatable,wt.federation._FederatedLinkHolder,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.esi._Releasable,wt.federation._RemotelyLinkable,AdministrativelyLockable,EffForm,EffRecord,wt.ufid.Federatable,wt.federation.FederatedLinkHolder,NetFactor,ObjectMappable,Persistable,Releasable,wt.federation.RemotelyLinkable,Serializable
- All Known Subinterfaces:
wt.eff._DateEff,wt.effectivity._Effectivity,wt.eff._IncorporationDate,wt.eff._LeftFilledStringEff,wt.eff._StringEff,DateEff,Effectivity,IncorporationDate,LeftFilledStringEff,StringEff
- All Known Implementing Classes:
_DatedEffectivity,_ProductBlockEffectivity,_ProductDateEffectivity,_ProductLotNumberEffectivity,_ProductMSNEffectivity,_ProductSerialNumberEffectivity,_UnitEffectivity,wt.effectivity._WTDatedEffectivity,wt.effectivity._WTLotEffectivity,wt.effectivity._WTSerialNumberedEffectivity,DatedEffectivity,ProductBlockEffectivity,ProductDateEffectivity,ProductLotNumberEffectivity,ProductMSNEffectivity,ProductSerialNumberEffectivity,UnitEffectivity,WTDatedEffectivity,WTLotEffectivity,WTSerialNumberedEffectivity
@GenAsPersistable(interfaces={EffRecord.class,Releasable.class},
extendable=false,
foreignKeys=@GeneratedForeignKey(name="TargetEff",foreignKeyRole=@ForeignKeyRole(name="target",type=EffManagedVersion.class,referenceType=VersionReference.class,supportedAPI=PUBLIC,cascade=false,constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(persistent=true),javaDoc="The target for an Eff."),myRole=@MyRole(name="eff",supportedAPI=PUBLIC,cascade=false,javaDoc="The Effs for the target.")),
tableProperties=@TableProperties(compositeIndex1="+ targetReference.key.branchId"))
public interface Eff
extends wt.eff._Eff
Provides the capability to specify when an
EffManagedVersion
is effective given a start and end (EffRange) and optionally
an EffContext. Implementations of Eff may constrain
the EffContext as well as make it required; implementations
also may specify a subclass of EffRange and by doing so
specify the type of the start/end values.
Effs are often grouped into an EffGroup.
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidsetTarget(EffRecordable a_Target) Sets the object for the association that plays role: TARGET.Methods inherited from interface wt.eff.EffRecord
getAdditionalAttributeMap, setAdditionalAttributeMapMethods inherited from interface wt.fc.NetFactor
getClassInfo, getConceptualClassnameMethods inherited from interface wt.fc.ObjectMappable
readExternal, writeExternal
-
Method Details
-
setTarget
Sets the object for the association that plays role: TARGET. The target for an Eff.
Supported API: true- Specified by:
setTargetin interfacewt.eff._EffRecord- Parameters:
a_Target-- Throws:
WTPropertyVetoExceptionWTException
-