jrun.ejb.metadata
Class CMPFieldMetaData

java.lang.Object
  |
  +--jrunx.xml.XMLMetaData
        |
        +--jrun.j2ee.metadata.DescriptionMetaData
              |
              +--jrun.ejb.metadata.CMPFieldMetaData
All Implemented Interfaces:
PersistentField

public class CMPFieldMetaData
extends DescriptionMetaData
implements PersistentField

Author:
Enrique Duvos, Paul Reilly

Inner classes inherited from class jrunx.xml.XMLMetaData
XMLMetaData.BaseException, XMLMetaData.CouldNotCreateDocumentException, XMLMetaData.CreateInstanceException, XMLMetaData.ElementRequiredException, XMLMetaData.IntegerExpectedException, XMLMetaData.InvalidElementException, XMLMetaData.InvalidObjectException, XMLMetaData.MetaDataExportIOException, XMLMetaData.NoLocationException, XMLMetaData.NoStringConstructorException, XMLMetaData.UnsupportedArrayTypeException
 
Fields inherited from class jrunx.xml.XMLMetaData
logger
 
Constructor Summary
CMPFieldMetaData()
           
 
Method Summary
 java.lang.reflect.Field getField()
           
 java.lang.String getFieldName()
           
 java.lang.String getName()
          Implement the method from the PersistentField interface.
 java.lang.String getRelatedName()
           
 EntityMetaData getRelatedObject()
           
 void init(java.lang.Class ejbClass)
           
 void setField(java.lang.reflect.Field field)
           
 void setFieldName(java.lang.String fieldName)
           
 void setName(java.lang.String fieldName)
          Implement the method from the PersistentField interface.
 void setRelatedName(java.lang.String relatedName)
           
 void setRelatedObject(EntityMetaData relatedObject)
           
 
Methods inherited from class jrun.j2ee.metadata.DescriptionMetaData
getDescription, setDescription
 
Methods inherited from class jrunx.xml.XMLMetaData
addAcronym, addAcronyms, addPackagePrefix, addPackagePrefixes, exportDocument, getAttribute, getMetaDataSource, getParent, getPersistenceContext, getText, importXML, importXML, remove, removeAttribute, setAttribute, setMetaDataSource, setMetaDataSource, setParent, setParent, setPersistenceContext, setPublicID, setSystemID, setText, sync, sync, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMPFieldMetaData

public CMPFieldMetaData()
Method Detail

getField

public java.lang.reflect.Field getField()
Specified by:
getField in interface PersistentField

getFieldName

public java.lang.String getFieldName()

getName

public java.lang.String getName()
Implement the method from the PersistentField interface.
Specified by:
getName in interface PersistentField
Returns:
the name of this descriptor

getRelatedName

public java.lang.String getRelatedName()

getRelatedObject

public EntityMetaData getRelatedObject()

setField

public void setField(java.lang.reflect.Field field)
Specified by:
setField in interface PersistentField

setFieldName

public void setFieldName(java.lang.String fieldName)

setName

public void setName(java.lang.String fieldName)
Implement the method from the PersistentField interface.
Specified by:
setName in interface PersistentField

setRelatedName

public void setRelatedName(java.lang.String relatedName)

setRelatedObject

public void setRelatedObject(EntityMetaData relatedObject)

init

public void init(java.lang.Class ejbClass)
          throws DeploymentException


Copyright � 2002 Macromedia Corporation. All Rights Reserved.