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