er.extensions.eof
Class ERXConstant.StringConstant
java.lang.Object
er.extensions.eof.ERXConstant.StringConstant
- All Implemented Interfaces:
- ERXConstant.Constant
- Direct Known Subclasses:
- ERCAuditTrailType, ERCMailState, State
- Enclosing class:
- ERXConstant
public abstract static class ERXConstant.StringConstant
- extends java.lang.Object
- implements ERXConstant.Constant
Constant class that can be used with strings in the DB.
- Author:
- ak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ERXConstant.StringConstant
public ERXConstant.StringConstant(java.lang.String value,
java.lang.String name)
name
public java.lang.String name()
- Specified by:
name
in interface ERXConstant.Constant
sortOrder
public int sortOrder()
- Specified by:
sortOrder
in interface ERXConstant.Constant
value
public java.lang.Object value()
- Specified by:
value
in interface ERXConstant.Constant
userPresentableDescription
public java.lang.String userPresentableDescription()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
constantForClassNamed
public static ERXConstant.StringConstant constantForClassNamed(java.lang.String value,
java.lang.String clazzName)
- Retrieves the constant for the given class name and value. Null is returned
if either class or value isn't found.
- Parameters:
value
- clazzName
-
Copyright © 2002 – 2007 Project Wonder.