|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.eff.EffHelper
public class EffHelper
This helper is used to access an implementation of EffService
via the static reference EffHelper.service. Other functionality
is provided by EffConfigSpecAssistant and EffGroupAssistant.
Supported API: true
Extendable: false
| Field Summary | |
|---|---|
static EffService |
service
Supported API: true |
| Method Summary | |
|---|---|
static boolean |
equals(Eff e1,
Eff e2)
Returns true if and only if the argument Eff objects are equal (that is, their respective range values are equal). |
static Class |
getEffRange(Class effClass)
For a given Eff class, returns the valid EffRange class. |
static Class |
getEffRangeType(Class rangeClass)
For a given EffRange class, returns the datatype for start/end. |
static Class<? extends EffForm>[] |
getValidEffForms(EffContext effContext)
Returns array of valid EffForm classes for the passed in EffContext. |
static Class[] |
getValidEffs(Class parentType,
EffContext context)
Returns all EffRecord classes that are valid in the given context and of the specified parent type. |
static Class[] |
getValidEffs(EffContext context)
Returns all Eff classes that are valid in the given context. |
static boolean |
isContextRequired(Class effClass)
Returns true if the Eff class requires a context (has cardinality 1). |
static boolean |
isCurrent(Eff eff)
Returns true if and only if the argument Eff object is current (i.e., it has not been factually deleted and thus relegated to effectivity history). |
static boolean |
isLegacy(Eff eff)
Returns true if and only if the argument Eff object is legacy (i.e., it does not reference a valid creation EffChangeAudit object). |
static boolean |
isValidEffTarget(Changeable2 changeable)
Returns true if the changeable passed in is a valid effectivity target, and false otherwise. |
static boolean |
isValidEffTarget(EffManagedVersion effManagedVersion)
Returns true if the object passed in is a valid effectivity target. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final EffService service
| Method Detail |
|---|
public static Class[] getValidEffs(EffContext context)
context -
public static Class[] getValidEffs(Class parentType,
EffContext context)
parentType - context -
public static Class getEffRange(Class effClass)
effClass -
public static Class getEffRangeType(Class rangeClass)
rangeClass -
public static boolean isContextRequired(Class effClass)
effClass -
public static boolean isCurrent(Eff eff)
eff - Eff object whose status as current or historical is to be determined -- may not be null
public static boolean isLegacy(Eff eff)
eff - Eff object whose status as legacy is to be determined -- may not be null
public static boolean equals(Eff e1,
Eff e2)
e1 - Eff object to be compared to the other Eff argument for equality -- may not be nulle2 - Eff object to be compared to the other Eff argument for equality -- may not be null
public static boolean isValidEffTarget(Changeable2 changeable)
Supported API: true
changeable - Changeable2 participating in change-related association
public static boolean isValidEffTarget(EffManagedVersion effManagedVersion)
nonEffective attribute set to true,
the method returns false.
Supported API: true
effManagedVersion - Some EffManagedVersion object.
public static Class<? extends EffForm>[] getValidEffForms(EffContext effContext)
WTPartMaster
contexts, and returns a default set for other contexts. If the context
is null, a set of valid forms for non-contextual effectivity forms
is returned.
Supported API: true
effContext - effectivity context; may be null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||