Project Wonder 5.0

er.extensions.eof
Class ERXConstant.ByteConstant

java.lang.Object
  extended by er.extensions.eof.ERXConstant.ByteConstant
All Implemented Interfaces:
ERXConstant.Constant
Enclosing class:
ERXConstant

public abstract static class ERXConstant.ByteConstant
extends java.lang.Object
implements ERXConstant.Constant

Constant class that can be used with bytes or NSData in the DB.

Author:
ak

Constructor Summary
ERXConstant.ByteConstant(com.webobjects.foundation.NSData value, java.lang.String name)
           
ERXConstant.ByteConstant(java.lang.String value, java.lang.String name)
           
 
Method Summary
static ERXConstant.ByteConstant constantForClassNamed(byte[] value, java.lang.String clazzName)
          Retrieves the constant for the given class name and value.
static ERXConstant.ByteConstant constantForClassNamed(com.webobjects.foundation.NSData 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.ByteConstant

public ERXConstant.ByteConstant(java.lang.String value,
                                java.lang.String name)

ERXConstant.ByteConstant

public ERXConstant.ByteConstant(com.webobjects.foundation.NSData 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.ByteConstant constantForClassNamed(com.webobjects.foundation.NSData 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 -

constantForClassNamed

public static ERXConstant.ByteConstant constantForClassNamed(byte[] 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.