|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.enterprise.Simple
wt.eff.PersistableEffConfigSpec
public class PersistableEffConfigSpec
Persistent wrapper of an EffConfigSpec (which is ObjectMappable).
This PersistableEffConfigSpec can be associated to an EffConfigSpecGroup.
Use the newPersistableEffConfigSpec static factory method(s),
not the PersistableEffConfigSpec constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
appendSearchCriteria(wt.query.QuerySpec),
process(wt.fc.QueryResult),
Serialized Form| Field Summary | |
|---|---|
static String |
EFF_CONTEXT
Label for the attribute; The context for which the value should be applied to. |
static String |
EFF_TYPE
Label for the attribute; The Eff class (type). |
static String |
VALUE
Label for the attribute; The value represented by this Eff. |
static String |
VALUE_AS_STRING
Label for the attribute; The value, represented as a String. |
| Method Summary | |
|---|---|
QuerySpec |
appendSearchCriteria(QuerySpec querySpec)
Appends a 'context = |
EffContext |
getEffContext()
Gets the value of the attribute: EFF_CONTEXT. |
Class |
getEffType()
Gets the value of the attribute: EFF_TYPE. |
Serializable |
getValue()
Gets the value of the attribute: VALUE. |
String |
getValueAsString()
Gets the value of the attribute: VALUE_AS_STRING. |
protected void |
initialize(EffConfigSpec an_EffConfigSpec)
Supports initialization, following construction of an instance. |
protected void |
initialize(EffContext an_EffContext,
Class an_EffType,
Serializable a_Value)
Supports initialization, following construction of an instance. |
protected void |
initialize(EffContext an_EffContext,
Class an_EffType,
String a_ValueAsString)
Supports initialization, following construction of an instance. |
static PersistableEffConfigSpec |
newPersistableEffConfigSpec(EffConfigSpec an_EffConfigSpec)
Factory to construct a PersistableEffConfigSpec based on the context and a type. |
static PersistableEffConfigSpec |
newPersistableEffConfigSpec(EffContext an_EffContext,
Class an_EffType,
Serializable a_Value)
Factory to construct a PersistableEffConfigSpec based on the context, a type, and a value. |
static PersistableEffConfigSpec |
newPersistableEffConfigSpec(EffContext an_EffContext,
Class an_EffType,
String a_ValueAsString)
Factory to construct a PersistableEffConfigSpec based on the context, a type, and string value. |
QueryResult |
process(QueryResult results)
Returns the elements passed in. |
void |
setEffContext(EffContext a_EffContext)
Sets the value of the attribute: EFF_CONTEXT. |
void |
setValue(Serializable a_Value)
Sets the value of the attribute: VALUE. |
void |
setValueAsString(String a_ValueAsString)
Sets the value of the attribute: VALUE_AS_STRING. |
| 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 |
|---|
public static final String EFF_CONTEXT
public static final String EFF_TYPE
public static final String VALUE
public static final String VALUE_AS_STRING
| Method Detail |
|---|
public EffContext getEffContext()
throws ObjectNoLongerExistsException
ObjectNoLongerExistsException
public void setEffContext(EffContext a_EffContext)
throws WTPropertyVetoException
a_EffContext -
WTPropertyVetoExceptionpublic Class getEffType()
public Serializable getValue()
public void setValue(Serializable a_Value)
throws WTPropertyVetoException
a_Value -
WTPropertyVetoExceptionpublic String getValueAsString()
public void setValueAsString(String a_ValueAsString)
throws WTPropertyVetoException
a_ValueAsString -
WTPropertyVetoException
public QuerySpec appendSearchCriteria(QuerySpec querySpec)
throws WTException,
QueryException
appendSearchCriteria in interface ConfigSpecquerySpec - A QuerySpec with a target class that is Iterated.
WTException
QueryExceptionQuerySpec,
SearchCondition
public QueryResult process(QueryResult results)
throws WTException
process in interface ConfigSpecresults - QueryResult of iterations to filter. Assumed to be the result of a query that included the additional search conditions applied by appendSearchCriteria. Note that after enumerating through the elements of this QueryResult, it should be reset.
WTExceptionQueryResult,
Iterated
public static PersistableEffConfigSpec newPersistableEffConfigSpec(EffConfigSpec an_EffConfigSpec)
throws WTPropertyVetoException
an_EffConfigSpec -
WTPropertyVetoException
protected void initialize(EffConfigSpec an_EffConfigSpec)
throws WTPropertyVetoException
an_EffConfigSpec -
WTPropertyVetoException
public static PersistableEffConfigSpec newPersistableEffConfigSpec(EffContext an_EffContext,
Class an_EffType,
Serializable a_Value)
throws WTPropertyVetoException
an_EffContext - an_EffType - a_Value -
WTPropertyVetoException
protected void initialize(EffContext an_EffContext,
Class an_EffType,
Serializable a_Value)
throws WTPropertyVetoException
an_EffContext - an_EffType - a_Value -
WTPropertyVetoException
public static PersistableEffConfigSpec newPersistableEffConfigSpec(EffContext an_EffContext,
Class an_EffType,
String a_ValueAsString)
throws WTPropertyVetoException
an_EffContext - an_EffType - a_ValueAsString -
WTPropertyVetoException
protected void initialize(EffContext an_EffContext,
Class an_EffType,
String a_ValueAsString)
throws WTPropertyVetoException
an_EffContext - an_EffType - a_ValueAsString -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||