biz.chitec.quarterback.gjsa
Class ClassParsers.SmartCompareExprCP
java.lang.Object
biz.chitec.quarterback.gjsa.ClassParsers.SmartCompareExprCP
- All Implemented Interfaces:
- ClassParser
- Enclosing class:
- ClassParsers
- private static class ClassParsers.SmartCompareExprCP
- extends java.lang.Object
- implements ClassParser
Method Summary |
private SmartCompareExpr |
createObj(java.lang.String id,
java.lang.String key,
java.util.List values)
|
java.lang.String |
getID()
Returns a String ID for the object. |
private java.lang.String |
getObjID(java.lang.Object obj)
|
java.lang.String |
obj2Str(java.lang.Object obj)
This method should convert a given object into a string representation. |
java.lang.Object |
str2Obj(Str2ObjParamParser sopp)
Converts a string representation into a Java object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassParsers.SmartCompareExprCP
private ClassParsers.SmartCompareExprCP()
getObjID
private java.lang.String getObjID(java.lang.Object obj)
createObj
private SmartCompareExpr createObj(java.lang.String id,
java.lang.String key,
java.util.List values)
getID
public java.lang.String getID()
- Description copied from interface:
ClassParser
- Returns a String ID for the object. The ID must be unique and should be short.
- Specified by:
getID
in interface ClassParser
- Returns:
- The iD value
obj2Str
public java.lang.String obj2Str(java.lang.Object obj)
- Description copied from interface:
ClassParser
- This method should convert a given object into a string representation. It must retrun null if
the object cannot be handled by this parser. Otherwise, it must return only the internal
values of the object.
- Specified by:
obj2Str
in interface ClassParser
- Parameters:
obj
- Description of the Parameter
- Returns:
- Description of the Return Value
str2Obj
public java.lang.Object str2Obj(Str2ObjParamParser sopp)
- Description copied from interface:
ClassParser
- Converts a string representation into a Java object. This method needs to create an object of
its class and fill it with the values that are given through the Str2ObjParamParser. The
ClassParser may use all of Str2ObjParamParser's internal methods, esp. parseObject() which may
enter a recursive step.
- Specified by:
str2Obj
in interface ClassParser
- Parameters:
sopp
- Description of the Parameter
- Returns:
- Description of the Return Value