|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.remote.sci.TypeStorage
Type-safe enumeration for storage types (integer or string). There are a number of values in the 4.5 portal that are required to be stored as an integer, including CrawlerConstants.TAG_DEPTH and CrawlerConstants.TAG_THREADS.
Field Summary | |
static TypeStorage |
STORAGE_INTEGER
TypeStorage for integer. |
static TypeStorage |
STORAGE_STRING
TypeStorage for string. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getCode()
Gets the internal constant associated with this TypeStorage . |
int |
hashCode()
|
static TypeStorage |
parse(java.lang.String val)
Creates a TypeStorage from a string. |
java.lang.String |
toString()
Writes the TypeStorage to a string. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static TypeStorage STORAGE_INTEGER
TypeStorage
for integer.
public static TypeStorage STORAGE_STRING
TypeStorage
for string.
Method Detail |
public java.lang.String getCode()
TypeStorage
.
public static TypeStorage parse(java.lang.String val)
TypeStorage
from a string.
val
- a valid storage type
TypeStorage
public java.lang.String toString()
TypeStorage
to a string.
TypeStorage
public boolean equals(java.lang.Object obj)
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2010 Oracle® Corporation. All Rights Reserved.