org.objectweb.jorm.metainfo.lib
Class BasicFieldName

java.lang.Object
  extended byorg.objectweb.jorm.metainfo.lib.BasicMetaObject
      extended byorg.objectweb.jorm.metainfo.lib.BasicFieldName
All Implemented Interfaces:
FieldName, Loggable, MetaObject, java.io.Serializable

public class BasicFieldName
extends BasicMetaObject
implements FieldName

The FieldName object defines methods to reference an already existing Field.

Author:
X. Spengler
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jorm.metainfo.lib.BasicMetaObject
debug, logger, loggerFactory, parent
 
Constructor Summary
BasicFieldName(java.lang.String field, MetaObject parent)
          Builds a new BasicFieldName object.
 
Method Summary
 java.lang.String getField()
          Returns the name of the referenced field.
 void setField(java.lang.String field)
          Allows to set the name of the referenced field.
 
Methods inherited from class org.objectweb.jorm.metainfo.lib.BasicMetaObject
getChildren, getLogger, getLoggerFactory, getManager, getParent, setLogger, setLoggerFactory, setLoggingOnChild, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject
getParent, setParent
 

Constructor Detail

BasicFieldName

public BasicFieldName(java.lang.String field,
                      MetaObject parent)
Builds a new BasicFieldName object.

Parameters:
field - the name of the field
parent - the parent of the current object
Method Detail

getField

public java.lang.String getField()
Returns the name of the referenced field.

Specified by:
getField in interface FieldName
Returns:
the string representation of the referenced field

setField

public void setField(java.lang.String field)
Allows to set the name of the referenced field.

Specified by:
setField in interface FieldName
Parameters:
field - the string representation of the referenced field