org.objectweb.jonas_ejb.deployment.api.FieldDesc Class Reference

Inherited by org.objectweb.jonas_ejb.deployment.api.FieldJdbcDesc.

Inheritance diagram for org.objectweb.jonas_ejb.deployment.api.FieldDesc:

Inheritance graph
[legend]
List of all members.

Public Member Functions

boolean isPrimaryKey ()
String getName ()
Class getFieldType ()
String toString ()

Static Public Member Functions

String getSetterName (String fieldName)
String getGetterName (String fieldName)

Protected Member Functions

void setName (String fieldName)
void setPrimaryKey (boolean pkField)
void setFieldType (Class fieldType)

Detailed Description

Class to hold meta-information related to a cmp-field
Author:
Christophe Ney [cney@batisseurs.com] : Initial developer

Helene Joanin on May 2003: code cleanup

Definition at line 34 of file FieldDesc.java.


Member Function Documentation

Class org.objectweb.jonas_ejb.deployment.api.FieldDesc.getFieldType  ) 
 

field type getter

Definition at line 74 of file FieldDesc.java.

Referenced by org.objectweb.jonas_ejb.genic.VContextFactory.create(), and org.objectweb.jonas_ejb.genic.VcField.VcField().

String org.objectweb.jonas_ejb.deployment.api.FieldDesc.getGetterName String  fieldName  )  [static]
 

get the getter method name for a given field

Definition at line 95 of file FieldDesc.java.

String org.objectweb.jonas_ejb.deployment.api.FieldDesc.getName  ) 
 

Field name getter

Returns:
field name

Definition at line 53 of file FieldDesc.java.

Referenced by org.objectweb.jonas_ejb.genic.VContextFactory.create(), org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.EntityCmpDesc(), org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc.EntityJdbcCmp1Desc(), org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.toString(), and org.objectweb.jonas_ejb.genic.VcField.VcField().

String org.objectweb.jonas_ejb.deployment.api.FieldDesc.getSetterName String  fieldName  )  [static]
 

get the setter method name for a given field

Definition at line 88 of file FieldDesc.java.

boolean org.objectweb.jonas_ejb.deployment.api.FieldDesc.isPrimaryKey  ) 
 

Assessor method for primary key field

Returns:
true if field is a primary key

Definition at line 45 of file FieldDesc.java.

Referenced by org.objectweb.jonas_ejb.genic.VContextFactory.create(), org.objectweb.jonas_ejb.genic.VcField.VcField(), and org.objectweb.jonas_ejb.genic.VcMethod.VcMethod().

void org.objectweb.jonas_ejb.deployment.api.FieldDesc.setFieldType Class  fieldType  )  [protected]
 

field type setter

Definition at line 81 of file FieldDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.EntityCmp1Desc.EntityCmp1Desc(), and org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.EntityCmp2Desc().

void org.objectweb.jonas_ejb.deployment.api.FieldDesc.setName String  fieldName  )  [protected]
 

field name setter

Definition at line 60 of file FieldDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.EntityCmp1Desc.EntityCmp1Desc(), org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.EntityCmp2Desc(), and org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.EntityCmpDesc().

void org.objectweb.jonas_ejb.deployment.api.FieldDesc.setPrimaryKey boolean  pkField  )  [protected]
 

primary key flag setter

Definition at line 67 of file FieldDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.EntityCmp1Desc.EntityCmp1Desc(), org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.EntityCmp2Desc(), and org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.EntityCmpDesc().

String org.objectweb.jonas_ejb.deployment.api.FieldDesc.toString  ) 
 

String representation of the object for test purpose

Returns:
String representation of this object

Reimplemented in org.objectweb.jonas_ejb.deployment.api.FieldJdbcDesc.

Definition at line 103 of file FieldDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc.toString(), and org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.toString().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:11:20 2005 for JOnAS by  doxygen 1.3.9.1