Project Wonder 5.0

er.extensions.eof
Class ERXConstant.StringConstant

java.lang.Object
  extended by 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

Constructor Summary
ERXConstant.StringConstant(java.lang.String value, java.lang.String name)
           
 
Method Summary
static ERXConstant.StringConstant constantForClassNamed(java.lang.String value, java.lang.String clazzName)
          Retrieves the constant for the given class name and value.
 java.lang.String name()
           
 int sortOrder()
           
 java.lang.String toString()
           
 java.lang.String userPresentableDescription()
           
 java.lang.Object value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERXConstant.StringConstant

public ERXConstant.StringConstant(java.lang.String value,
                                  java.lang.String name)
Method Detail

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 -

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.