|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.configuration.SerialNumberedConfiguredInstanceConfigSpec
public class SerialNumberedConfiguredInstanceConfigSpec
The config spec used by SerialNumberedConfiguredInstanceVersion
objects. This config spec will use the configuration to navigate the
ConfigurationManageable elements and the date/planningDate to
resolve versions of instances mapped (allocated) by this instance. To
further traverse those mapped instances, create a new config spec for
them.
Use the newSerialNumberedConfiguredInstanceConfigSpec static
factory method(s), not the SerialNumberedConfiguredInstanceConfigSpec
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
| Field Summary | |
|---|---|
static String |
DATE
Label for the attribute. |
static String |
INSTANCE
Label for the attribute. |
static String |
PLANNING_DATE
Label for the attribute. |
static String |
STATE
Label for the attribute. |
| Method Summary | |
|---|---|
QuerySpec |
appendSearchCriteria(QuerySpec querySpec)
Appends to the supplied QuerySpec additional search criteria to reduce the resulting iterations to only those that will be considered by this ConfigSpec. |
Timestamp |
getDate()
Gets the value of the attribute: DATE. |
SerialNumberedConfiguredInstanceVersion |
getInstance()
Gets the value of the attribute: INSTANCE. |
State |
getState()
Gets the value of the attribute: STATE. |
protected void |
initialize(SerialNumberedConfiguredInstanceVersion instance,
State state)
Supports initialization, following construction of an instance. |
protected void |
initialize(SerialNumberedConfiguredInstanceVersion instance,
Timestamp date,
boolean planningDate)
Supports initialization, following construction of an instance. |
protected void |
initialize(State state)
Supports initialization, following construction of an instance. |
boolean |
isPlanningDate()
Gets the value of the attribute: PLANNING_DATE. |
static SerialNumberedConfiguredInstanceConfigSpec |
newSerialNumberedConfiguredInstanceConfigSpec(SerialNumberedConfiguredInstanceVersion instance,
State state)
Supported API: true |
static SerialNumberedConfiguredInstanceConfigSpec |
newSerialNumberedConfiguredInstanceConfigSpec(SerialNumberedConfiguredInstanceVersion instance,
Timestamp date,
boolean planningDate)
Supported API: true |
static SerialNumberedConfiguredInstanceConfigSpec |
newSerialNumberedConfiguredInstanceConfigSpec(State state)
Supported API: true |
QueryResult |
process(QueryResult results)
Process the QueryResult of iterations, returning only those that "match" according to the algorithm. |
void |
setDate(Timestamp a_Date)
Sets the value of the attribute: DATE. |
void |
setInstance(SerialNumberedConfiguredInstanceVersion a_Instance)
Sets the value of the attribute: INSTANCE. |
void |
setPlanningDate(boolean a_PlanningDate)
Sets the value of the attribute: PLANNING_DATE. |
void |
setState(State a_State)
Sets the value of the attribute: STATE. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String INSTANCE
public static final String DATE
public static final String PLANNING_DATE
public static final String STATE
| Method Detail |
|---|
public SerialNumberedConfiguredInstanceVersion getInstance()
public void setInstance(SerialNumberedConfiguredInstanceVersion a_Instance)
throws WTPropertyVetoException
a_Instance -
WTPropertyVetoExceptionpublic Timestamp getDate()
public void setDate(Timestamp a_Date)
throws WTPropertyVetoException
a_Date -
WTPropertyVetoExceptionpublic boolean isPlanningDate()
public void setPlanningDate(boolean a_PlanningDate)
throws WTPropertyVetoException
a_PlanningDate -
WTPropertyVetoExceptionpublic State getState()
public void setState(State a_State)
throws WTPropertyVetoException
a_State -
WTPropertyVetoException
public static SerialNumberedConfiguredInstanceConfigSpec newSerialNumberedConfiguredInstanceConfigSpec(SerialNumberedConfiguredInstanceVersion instance,
Timestamp date,
boolean planningDate)
throws WTPropertyVetoException
instance - date - planningDate -
WTPropertyVetoException
protected void initialize(SerialNumberedConfiguredInstanceVersion instance,
Timestamp date,
boolean planningDate)
throws WTPropertyVetoException
instance - date - planningDate -
WTPropertyVetoException
public static SerialNumberedConfiguredInstanceConfigSpec newSerialNumberedConfiguredInstanceConfigSpec(SerialNumberedConfiguredInstanceVersion instance,
State state)
throws WTPropertyVetoException
instance - state -
WTPropertyVetoException
protected void initialize(SerialNumberedConfiguredInstanceVersion instance,
State state)
throws WTPropertyVetoException
instance - state -
WTPropertyVetoException
public static SerialNumberedConfiguredInstanceConfigSpec newSerialNumberedConfiguredInstanceConfigSpec(State state)
throws WTPropertyVetoException
state -
WTPropertyVetoException
protected void initialize(State state)
throws WTPropertyVetoException
state -
WTPropertyVetoException
public QuerySpec appendSearchCriteria(QuerySpec querySpec)
throws WTException,
QueryException
The QueryResult returned should be a copy of the passed in one (taking advantage of side-effects is not encouraged).
appendSearchCriteria in interface ConfigSpecquerySpec - A QuerySpec with a target class that is Iterated.
WTException
QueryExceptionQuerySpec,
SearchCondition
public QueryResult process(QueryResult results)
throws WTException
The QueryResult returned should be a copy of the passed-in QueryResult (side-effects should be avoided).
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||