|
Rational Developer for Power Systems Software V8.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.etools.iseries.comm.filters.ISeriesObjectTypeAttrList
public class ISeriesObjectTypeAttrList
A class used by the ISeriesObjectFilterString to encapsulate all object type and object attribute pairs
ISeriesObjectFilterString,
ISeriesObjectTypeAttr| Field Summary | |
|---|---|
static String |
Copyright
|
| Constructor Summary | |
|---|---|
ISeriesObjectTypeAttrList()
Constructor to use when there is no existing string of type:attr pairs. |
|
ISeriesObjectTypeAttrList(String input)
Constructor to use when a string of type:attr pairs already exists. |
|
| Method Summary | |
|---|---|
void |
addObjectType(String typeAttr)
Add an object type:attr pair given as a String. |
void |
addObjectTypeAttr(ISeriesObjectTypeAttr typeAttr)
Add an object type:attr pair given as an ISeriesObjectTypeAttr object. |
String |
getObjectAttr(int index)
Return the object attribute string (without the type part) at the given zero-based index. |
String |
getObjectType(int index)
Return the object type string (without the attribute part) at the given zero-based index. |
ISeriesObjectTypeAttr |
getObjectTypeAttr(int index)
Return the object type and attribute pair at the given zero-based index, as an ISeriesObjectTypeAttr object. |
ISeriesObjectTypeAttr |
getObjectTypeAttr(String type)
Return the ISeriesObjectTypeAttr object for the given type, or null if there is no such type in this list |
int |
getObjectTypeCount()
Return number of object type pairs |
String |
getUniqueAttr()
If this type list has only one unique attribute, return it. |
String |
getUniqueType()
If this type list has only one unique type, return it. |
String |
toString()
Convert this filter into a string of the form type:attr type:attr type:attr. |
String[] |
toStringArray()
Convert this filter into an array of strings, each of the form type:attr. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String Copyright
| Constructor Detail |
|---|
public ISeriesObjectTypeAttrList()
*:*.
To subsequent add pairs call:
addObjectType(String) to add a single type:attr that is a raw string.
addObjectTypeAttr(ISeriesObjectTypeAttr) to add a single type:attr encapsulated as an object of
class ISeriesObjectTypeAttr
public ISeriesObjectTypeAttrList(String input)
type:attr pairs already exists. Each
pair must be blank separated.
| Method Detail |
|---|
public int getObjectTypeCount()
public String getUniqueType()
public String getUniqueAttr()
public ISeriesObjectTypeAttr getObjectTypeAttr(int index)
ISeriesObjectTypeAttr object.
public String getObjectType(int index)
public String getObjectAttr(int index)
public void addObjectType(String typeAttr)
type:attr pair given as a String.
public void addObjectTypeAttr(ISeriesObjectTypeAttr typeAttr)
type:attr pair given as an ISeriesObjectTypeAttr object.
public ISeriesObjectTypeAttr getObjectTypeAttr(String type)
public String toString()
type:attr type:attr type:attr.
toString in class Objectpublic String[] toStringArray()
type:attr.
|
Rational Developer for Power Systems Software V8.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||