Package wt.configuration
Class SerialNumberedConfiguredInstanceConfigSpec
java.lang.Object
wt.configuration.SerialNumberedConfiguredInstanceConfigSpec
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,NetFactor,ConfigSpec
public class SerialNumberedConfiguredInstanceConfigSpec
extends Object
implements NetFactor, ConfigSpec, Externalizable
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
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetDate()Gets the value of the attribute: DATE.Gets the value of the attribute: INSTANCE.getState()Gets the value of the attribute: STATE.protected voidinitialize(SerialNumberedConfiguredInstanceVersion instance, Timestamp date, boolean planningDate) Supports initialization, following construction of an instance.protected voidinitialize(SerialNumberedConfiguredInstanceVersion instance, State state) Supports initialization, following construction of an instance.protected voidinitialize(State state) Supports initialization, following construction of an instance.booleanGets the value of the attribute: PLANNING_DATE.newSerialNumberedConfiguredInstanceConfigSpec(SerialNumberedConfiguredInstanceVersion instance, Timestamp date, boolean planningDate) Instantiates a newSerialNumberedConfiguredInstanceConfigSpec.newSerialNumberedConfiguredInstanceConfigSpec(SerialNumberedConfiguredInstanceVersion instance, State state) Instantiates a newSerialNumberedConfiguredInstanceConfigSpec.Instantiates a newSerialNumberedConfiguredInstanceConfigSpec.voidSets the value of the attribute: DATE.voidsetInstance(SerialNumberedConfiguredInstanceVersion a_Instance) Sets the value of the attribute: INSTANCE.voidsetPlanningDate(boolean a_PlanningDate) Sets the value of the attribute: PLANNING_DATE.voidSets the value of the attribute: STATE.
-
Field Details
-
INSTANCE
Label for the attribute.
Supported API: true- See Also:
-
DATE
Label for the attribute.
Supported API: true- See Also:
-
PLANNING_DATE
Label for the attribute.
Supported API: true- See Also:
-
STATE
Label for the attribute.
Supported API: true- See Also:
-
-
Method Details
-
getInstance
Gets the value of the attribute: INSTANCE.
Supported API: true- Returns:
- SerialNumberedConfiguredInstanceVersion
-
setInstance
public void setInstance(SerialNumberedConfiguredInstanceVersion a_Instance) throws WTPropertyVetoException Sets the value of the attribute: INSTANCE.
Supported API: true- Parameters:
a_Instance-- Throws:
WTPropertyVetoException
-
getDate
Gets the value of the attribute: DATE.
Supported API: true- Returns:
- Timestamp
-
setDate
Sets the value of the attribute: DATE.
Supported API: true- Parameters:
a_Date-- Throws:
WTPropertyVetoException
-
isPlanningDate
public boolean isPlanningDate()Gets the value of the attribute: PLANNING_DATE.
Supported API: true- Returns:
- boolean
-
setPlanningDate
Sets the value of the attribute: PLANNING_DATE.
Supported API: true- Parameters:
a_PlanningDate-- Throws:
WTPropertyVetoException
-
getState
Gets the value of the attribute: STATE.
Supported API: true- Returns:
- State
-
setState
Sets the value of the attribute: STATE.
Supported API: true- Parameters:
a_State-- Throws:
WTPropertyVetoException
-
newSerialNumberedConfiguredInstanceConfigSpec
public static SerialNumberedConfiguredInstanceConfigSpec newSerialNumberedConfiguredInstanceConfigSpec(SerialNumberedConfiguredInstanceVersion instance, Timestamp date, boolean planningDate) throws WTPropertyVetoException Instantiates a newSerialNumberedConfiguredInstanceConfigSpec. UseConfigurationHelper.getConfigSpecForInstance(SerialNumberedConfiguredInstanceVersion, Timestamp, boolean)instead.
Supported API: true- Parameters:
instance-date-planningDate-- Returns:
- SerialNumberedConfiguredInstanceConfigSpec
- Throws:
WTPropertyVetoException
-
initialize
protected void initialize(SerialNumberedConfiguredInstanceVersion instance, Timestamp date, boolean planningDate) throws WTPropertyVetoException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
instance-date-planningDate-- Throws:
WTPropertyVetoException
-
newSerialNumberedConfiguredInstanceConfigSpec
public static SerialNumberedConfiguredInstanceConfigSpec newSerialNumberedConfiguredInstanceConfigSpec(SerialNumberedConfiguredInstanceVersion instance, State state) throws WTPropertyVetoException Instantiates a newSerialNumberedConfiguredInstanceConfigSpec. UseConfigurationHelper.getConfigSpecForInstance(SerialNumberedConfiguredInstanceVersion, State)instead.
Supported API: true- Parameters:
instance-state-- Returns:
- SerialNumberedConfiguredInstanceConfigSpec
- Throws:
WTPropertyVetoException
-
initialize
protected void initialize(SerialNumberedConfiguredInstanceVersion instance, State state) throws WTPropertyVetoException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
instance-state-- Throws:
WTPropertyVetoException
-
newSerialNumberedConfiguredInstanceConfigSpec
public static SerialNumberedConfiguredInstanceConfigSpec newSerialNumberedConfiguredInstanceConfigSpec(State state) throws WTPropertyVetoException Instantiates a newSerialNumberedConfiguredInstanceConfigSpec. UseConfigurationHelper.getConfigSpecForInstance(State)instead.
Supported API: true- Parameters:
state-- Returns:
- SerialNumberedConfiguredInstanceConfigSpec
- Throws:
WTPropertyVetoException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
state-- Throws:
WTPropertyVetoException
-