|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlpi.common.VariableInfo
Holds information about a workflow variable.
Objects of this class override the boolean equals(Object)
and
implement the comparable
interface. Homogeneous collections
containing objects of this class may, therefore, be searched and sorted using
the Collection.contains(Object), List.indexOf(Object),
Collections.sort(List)
methods.
Constructor Summary | |
VariableInfo(java.lang.String name,
java.lang.Object value)
Create a new VariableInfo object. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Compare two VariableInfo objects. |
boolean |
equals(java.lang.Object obj)
Test two VariableInfo objects for equality. |
java.lang.String |
getName()
Return the variable name. |
java.lang.Object |
getValue()
Return the variable value. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public VariableInfo(java.lang.String name, java.lang.Object value)
VariableInfo
object.
name
- The variable name.value
- The variable value.Method Detail |
public final java.lang.String getName()
public final java.lang.Object getValue()
public boolean equals(java.lang.Object obj)
VariableInfo
objects for equality.
obj
- Object with which to compare this one.true
if obj
is an instance of
VariableInfo
with the same name as this one.compareTo(java.lang.Object)
public int compareTo(java.lang.Object o)
VariableInfo
objects.
obj
- Object with which to compare this one. Must be
null
or an instance of VariableInfo
.name
members using
the String.compareTo(Object)
method.o
is not an instance of
VariableInfo
.equals(java.lang.Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |