|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.eff.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 | |
private ApplicationContext |
applicationContext
|
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static EffHelper |
factory
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static EffService |
service
Supported API: true |
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild |
APPLICATION_CONTEXT |
Constructor Summary | |
EffHelper()
|
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). |
ApplicationContext |
getApplicationContext()
Gets the object for the association that plays role: applicationContext. |
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[] |
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). |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(EffHelper thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setApplicationContext(ApplicationContext a_ApplicationContext)
Sets the object for the association that plays role: applicationContext. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final EffService service
private ApplicationContext applicationContext
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static EffHelper factory
Constructor Detail |
public EffHelper()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(EffHelper thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public static Class[] getValidEffs(EffContext context)
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 ApplicationContext getApplicationContext()
getApplicationContext
in interface ApplicationContextChild
public void setApplicationContext(ApplicationContext a_ApplicationContext) throws WTPropertyVetoException
setApplicationContext
in interface ApplicationContextChild
a_ApplicationContext
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |