er.extensions.eof
Class ERXConstant.ByteConstant
java.lang.Object
er.extensions.eof.ERXConstant.ByteConstant
- All Implemented Interfaces:
- ERXConstant.Constant
- Enclosing class:
- ERXConstant
public abstract static class ERXConstant.ByteConstant
- extends Object
- implements ERXConstant.Constant
Constant class that can be used with bytes or NSData in the DB.
- Author:
- ak
ERXConstant.ByteConstant
public ERXConstant.ByteConstant(String value,
String name)
ERXConstant.ByteConstant
public ERXConstant.ByteConstant(NSData value,
String name)
name
public String name()
- Specified by:
name in interface ERXConstant.Constant
sortOrder
public int sortOrder()
- Specified by:
sortOrder in interface ERXConstant.Constant
value
public Object value()
- Specified by:
value in interface ERXConstant.Constant
userPresentableDescription
public String userPresentableDescription()
toString
public String toString()
- Overrides:
toString in class Object
constantForClassNamed
public static ERXConstant.ByteConstant constantForClassNamed(NSData value,
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 -
constantForClassNamed
public static ERXConstant.ByteConstant constantForClassNamed(byte[] value,
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.