|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.comm.filters.ISeriesObjectTypeAttr
public class ISeriesObjectTypeAttr
A class used by the ISeriesObjectFilterString to encapsulate each object type and object attribute pair.
ISeriesObjectFilterString
Field Summary | |
---|---|
static String |
ALL_ATTRS
|
static String |
ALL_TYPES
|
static String |
Copyright
|
Constructor Summary | |
---|---|
ISeriesObjectTypeAttr()
Constructor to use when there is no existing type:attr pair. |
|
ISeriesObjectTypeAttr(String input)
Constructor to use when a type:attr pair already exists. |
Method Summary | |
---|---|
String |
getObjectAttr()
Return the object attribute part of this type:attr pair. |
String |
getObjectType()
Return the object type part of this type:attr pair. |
boolean |
isGeneric()
Returns true if either the type or the attribute is generic. |
void |
setObjectAttr(String attr)
Set the object attribute part of this type:attr pair. |
void |
setObjectType(String type)
Set the object type part of this type:attr pair. |
String |
toString()
Convert this filter into a string of the form type:attr . |
static boolean |
verifyObjectType(String type)
Utility method to ensure an object type is syntactically valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
public static final String ALL_TYPES
public static final String ALL_ATTRS
Constructor Detail |
---|
public ISeriesObjectTypeAttr()
*:*
.
To change any of the default values call:
setObjectType(String)
to set the object type.
setObjectAttr(String)
to set the object attribute. This attribute applies
to the object type. However, if the type is '*' then this is a global subset-by-attribute
filter.
public ISeriesObjectTypeAttr(String input)
toString()
.
Method Detail |
---|
public String getObjectType()
setObjectType(String)
public String getObjectAttr()
setObjectAttr(String)
public void setObjectType(String type)
type:attr
pair.
type
- The object type, as in *FILE. Do not include the attribute with this!
The type should be a valid AS/400 type or *. Other than *, the type cannot be
generic.getObjectType()
public void setObjectAttr(String attr)
type:attr
pair.
attr
- The object attribute, as in PF-SRC. Do not include the type with this!
The attribute can be scalar name, or *, or a valid generic name with one or
two asterisks anywhere in it.getObjectAttr()
public String toString()
type:attr
.
toString
in class Object
public boolean isGeneric()
public static boolean verifyObjectType(String type)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |