|
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.Objectcom.ibm.etools.iseries.comm.filters.ISeriesAbstractFilterString
public abstract class ISeriesAbstractFilterString
Base class and factory for AS/400 filter string objects. The child classes take care of parsing a string into its constituents, and generating the correct filter string from the constituents. The factory method parses a string enough to determine which child class to instantiate and return.
Field Summary | |
---|---|
static String |
Copyright
|
protected static char |
QUOTE
|
protected static char |
WILDCARD
|
Constructor Summary | |
---|---|
ISeriesAbstractFilterString()
|
Method Summary | |
---|---|
static String |
addQuotes(String input)
Helper method to add beginning + ending quotes to a string |
Object |
clone()
Support cloning |
static int |
countHostOccurrencesOf(String haystack,
String needle,
int start)
Utility method. |
static int |
countOccurrencesOf(String haystack,
char needle)
Helper method. |
static ISeriesAbstractFilterString |
createFilterStringObject(String input)
Factory method |
boolean |
equals(Object obj)
Support sequential lookup |
int |
hashCode()
Support keyed lookup. |
static int |
hostIndexOf(String haystack,
char needle,
int start)
Utility method. |
static int |
hostIndexOf(String haystack,
String needle,
int start)
Utility method. |
abstract boolean |
isGeneric()
Returns true if current filter represents a generic name or vs a scalar name. |
static boolean |
isGenericLibraryName(String name)
Utility method that returns true if a given library name is generic or not. |
static boolean |
isGenericName(String name)
Utility method that returns true if a given name is generic or not. |
abstract boolean |
isMultiGeneric()
Returns true if current filter represents a generic name that has more than one generic name part. |
static boolean |
isQuoted(String input)
Helper method to tell you if a string is quoted or not. |
static String |
stripQuotes(String input)
Helper method to strip beginning + ending quotes from a string |
abstract String |
toString()
Force all child classes to intelligently implement toString. |
static boolean |
verifyGenericName(String name)
Utility method to ensure a generic name meets the rules for PDM-style generic names. |
static boolean |
verifyGenericNameAdvanced(String name)
Utility method to ensure a generic name meets the rules for advanced style generic names. |
static boolean |
verifyGenericNameAdvancedQuoted(String name)
Utility method to ensure a generic quoted name meets the rules for advanced-style generic quoted names. |
static boolean |
verifyGenericNameQuoted(String name)
Utility method to ensure a generic quoted name meets the rules for PDM-style generic quoted names. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
protected static final char WILDCARD
protected static final char QUOTE
Constructor Detail |
---|
public ISeriesAbstractFilterString()
Method Detail |
---|
public abstract String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Object clone()
clone
in class Object
public abstract boolean isGeneric()
public abstract boolean isMultiGeneric()
public static boolean isGenericName(String name)
public static boolean isGenericLibraryName(String name)
public static boolean verifyGenericName(String name)
public static boolean verifyGenericNameAdvanced(String name)
public static boolean verifyGenericNameQuoted(String name)
public static boolean verifyGenericNameAdvancedQuoted(String name)
public static String stripQuotes(String input)
public static String addQuotes(String input)
public static boolean isQuoted(String input)
public static int countOccurrencesOf(String haystack, char needle)
public static int countHostOccurrencesOf(String haystack, String needle, int start)
public static int hostIndexOf(String haystack, String needle, int start)
public static int hostIndexOf(String haystack, char needle, int start)
public static ISeriesAbstractFilterString createFilterStringObject(String input)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |