|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlpi.common.FunctionInfo
Holds information about a workflow function.
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 | |
FunctionInfo(java.lang.String name,
java.lang.String prototype)
Create a new FunctionInfo object. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Compare two FunctionInfo objects. |
boolean |
equals(java.lang.Object obj)
Test two FunctionInfo objects for equality. |
java.lang.String |
getName()
Return the function name. |
java.lang.String |
getPrototype()
Return the function prototype. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public FunctionInfo(java.lang.String name, java.lang.String prototype)
FunctionInfo
object.
name
- The function name.prototype
- The function prototype in pseudo-Bachus-Naur form.Method Detail |
public final java.lang.String getName()
public final java.lang.String getPrototype()
public boolean equals(java.lang.Object obj)
FunctionInfo
objects for equality.
obj
- Object with which to compare this one.true
if obj
is an instance of
FunctionInfo
with the same name as this one.compareTo(java.lang.Object)
public int compareTo(java.lang.Object o)
FunctionInfo
objects.
obj
- Object with which to compare this one. Must be
null
or an instance of FunctionInfo
.name
members using the String.compareTo(Object)
method.o
is not an instance of
FunctionInfo
.equals(java.lang.Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |