ERXConstant.ByteConstant Class Reference

Inherits er::extensions::eof::ERXConstant::Constant.

Collaboration diagram for ERXConstant.ByteConstant:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ByteConstant (NSData value, String name)
 ByteConstant (String value, String name)
String name ()
int sortOrder ()
String toString ()
String userPresentableDescription ()
Object value ()

Static Public Member Functions

static ByteConstant constantForClassNamed (byte value[], String clazzName)
static ByteConstant constantForClassNamed (NSData value, String clazzName)

Private Attributes

String _name
int _sortOrder
NSData _value


Detailed Description

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

Constructor & Destructor Documentation

ByteConstant ( String  value,
String  name 
)

ByteConstant ( NSData  value,
String  name 
)


Member Function Documentation

static ByteConstant constantForClassNamed ( byte  value[],
String  clazzName 
) [static]

Retrieves the constant for the given class name and value. Null is returned if either class or value isn't found.

Parameters:
value 
clazzName 

static ByteConstant constantForClassNamed ( NSData  value,
String  clazzName 
) [static]

Retrieves the constant for the given class name and value. Null is returned if either class or value isn't found.

Parameters:
value 
clazzName 

String name (  ) 

Implements ERXConstant.Constant.

int sortOrder (  ) 

Implements ERXConstant.Constant.

String toString (  ) 

String userPresentableDescription (  ) 

Object value (  ) 

Implements ERXConstant.Constant.


Member Data Documentation

String _name [private]

int _sortOrder [private]

NSData _value [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:07 2012 for Project Wonder by  doxygen 1.5.8