Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD DETAIL: ENUM CONSTANTS | FIELD | METHOD com.ibm.portal.cp
Enum Constants.SearchPatternjava.lang.Objectjava.lang.Enum<Constants.SearchPattern>
com.ibm.portal.cp.Constants.SearchPattern
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Constants.SearchPattern>
- Enclosing interface:
- Constants
public static enum Constants.SearchPattern- extends java.lang.Enum<Constants.SearchPattern>
Enum for a search pattern
Enum Constant Summary CONTAINS
Search pattern has to contain a given StringENDSWITH
Search pattern has to end with a given StringMATCHES
Search pattern has to match exactly with a given StringSTARTSWITH
Search pattern has to start with a given String
Method Summary static Constants.SearchPattern valueOf(java.lang.String name)
Return the enum constant of this type with the specified name.static Constants.SearchPattern valueOfIgnoreCase(java.lang.String name)
Return the enum constant of the specified name ignoring upper and lower cases.static Constants.SearchPattern[] values()
Return an array containing the constants of this enum type, in the order they are declared.
Methods inherited from class java.lang.Enum clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object getClass, notify, notifyAll, wait, wait, wait
Enum Constant Detail STARTSWITH
public static final Constants.SearchPattern STARTSWITH
- Search pattern has to start with a given String
CONTAINS
public static final Constants.SearchPattern CONTAINS
- Search pattern has to contain a given String
MATCHES
public static final Constants.SearchPattern MATCHES
- Search pattern has to match exactly with a given String
ENDSWITH
public static final Constants.SearchPattern ENDSWITH
- Search pattern has to end with a given String
Method Detail values
public static Constants.SearchPattern[] values()
- Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Constants.SearchPattern c : Constants.SearchPattern.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static Constants.SearchPattern valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Parameters:
- name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
- java.lang.NullPointerException - if the argument is null
valueOfIgnoreCase
public static Constants.SearchPattern valueOfIgnoreCase(java.lang.String name)
- Returns the enum constant of the specified name ignoring upper and lower cases.
- Parameters:
- name - the name of the constant to return
- Returns:
- the enum constant with the specified name
Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD DETAIL: ENUM CONSTANTS | FIELD | METHOD