|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.workflow.definer.ProcessDataInfo
The ProcessDataInfo
class provides information about the
structure of ProcessData sets for the generated execution objects. It
associates property names (variables) with their types and is used to
generate ProcessData objects. The order in which the variables occur
in the process data is relevant.
Each process data info object contains a vector with variable information. This is an uniform vector of WfVariableInfo objects in which no two WfVariableInfo objects can have the same name.
Use the newProcessDataInfo
static factory method(s), not
the ProcessDataInfo
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
ProcessData
,
Serialized FormField Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private Vector |
variables
|
static String |
VARIABLES
Label for the attribute. |
Constructor Summary | |
ProcessDataInfo()
|
Method Summary | |
void |
addOrReplaceVariableInfo(WfVariableInfo var_info)
Replaces var info in the object with the same name as the one passed as argument. |
boolean |
addVariableInfo(WfVariableInfo var_info)
Adds a variable info object. |
ProcessDataInfo |
copy()
Produces a copy of the current object. |
Class[] |
getClassArray()
Returns an array of the classes of the variables of the object. |
ClassInfo |
getClassInfo()
Returns the ClassInfo object for this class. |
String |
getConceptualClassname()
Deprecated. |
int |
getNumberVariables()
Returns the number of variables in the object. |
Enumeration |
getVariableEnum()
Returns an enumeration (of type WfVariableInfo) of variable info objects contained in the current object. |
WfVariableInfo |
getVariableInfo(String name)
Returns the variable info object associated with a variable name. |
WfVariableInfo[] |
getVariableList()
Returns an array of WfVariableInfo containing the variables of the object. |
String[] |
getVariableNames()
Returns a String array containing the names of the variables. |
Vector |
getVariables()
Gets the object for the association that plays role: VARIABLES. |
protected void |
initialize()
Supports initialization, following construction of an instance. |
static ProcessDataInfo |
newProcessDataInfo()
No-arg constructor. |
private void |
read981112L(ObjectInput input)
|
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(ProcessDataInfo thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
boolean |
removeVariableInfo(String name)
Removes variable info of the name passed as argument. |
void |
setVariables(Vector a_Variables)
Sets the object for the association that plays role: VARIABLES. |
String |
toString()
Returns the conceptual (modeled) name for the class. |
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, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String VARIABLES
private Vector variables
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public ProcessDataInfo()
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(ProcessDataInfo 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 String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String toString()
public ClassInfo getClassInfo() throws WTIntrospectionException
getClassInfo
in interface NetFactor
WTIntrospectionException
public Vector getVariables()
public void setVariables(Vector a_Variables) throws WTPropertyVetoException
a_Variables
-
WTPropertyVetoException
public WfVariableInfo getVariableInfo(String name)
name
-
public boolean addVariableInfo(WfVariableInfo var_info) throws WfException
var_info
-
WfException
public Class[] getClassArray() throws InvalidVariableInfoException
InvalidVariableInfoException
public WfVariableInfo[] getVariableList()
public static ProcessDataInfo newProcessDataInfo() throws WTException
WTException
protected void initialize() throws WTException
WTException
public boolean removeVariableInfo(String name)
name
-
public void addOrReplaceVariableInfo(WfVariableInfo var_info) throws InvalidVariableInfoException
var_info
-
InvalidVariableInfoException
public int getNumberVariables()
public String[] getVariableNames()
public Enumeration getVariableEnum()
public ProcessDataInfo copy()
private void read981112L(ObjectInput input) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |