ERMetadataEntry Class Reference

Collaboration diagram for ERMetadataEntry:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERMetadataEntry (int type, String name, Object value, Class dataType)
Class getDataType ()
int getIntValue (boolean firstWord)
String getName ()
String getStringValue ()
int getType ()
Object getValue ()
boolean isValid ()
String toString ()

Static Public Member Functions

static boolean isValid (ERMetadataEntry entry)

Private Attributes

Class _dataType
String _name
int _type
Object _value


Detailed Description

ERMetadataEntry represents a single entry in a metadata directory.

Author:
mschrag

Constructor & Destructor Documentation

ERMetadataEntry ( int  type,
String  name,
Object  value,
Class  dataType 
)

Constructs a new ERMetadataEntry.

Parameters:
type the directory-specific identifier for the entry
name the directory-specific name of the entry
value the value of the entry
dataType the dataType of the entry


Member Function Documentation

Class getDataType (  ) 

Returns the data type of the entry.

Returns:
the data type of the entry

int getIntValue ( boolean  firstWord  ) 

Returns the int value of the entry.

Parameters:
firstWord if true, only the first word is converted to an int
Returns:
the int value of the entry

String getName (  ) 

Returns the directory-specific name for the entry.

Returns:
the directory-specific name for the entry

String getStringValue (  ) 

Returns the string value of the entry.

Returns:
the string value of the entry

int getType (  ) 

Returns the directory-specific identifier for the entry.

Returns:
the directory-specific identifier for the entry

Object getValue (  ) 

Returns the value of the entry.

Returns:
the value of the entry

static boolean isValid ( ERMetadataEntry  entry  )  [static]

boolean isValid (  ) 

Returns whether or not this metadata entry is valid (// MS ... I think this is cruft leftover from the original impl).

Returns:
whether or not this metadata entry is valid

String toString (  ) 


Member Data Documentation

Class _dataType [private]

String _name [private]

int _type [private]

Object _value [private]


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

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