org.objectweb.jorm.genclass.api
Class FieldDesc

java.lang.Object
  |
  +--org.objectweb.jorm.genclass.api.FieldDesc
Direct Known Subclasses:
RdbFieldDesc

public class FieldDesc
extends java.lang.Object

This class provides a simple description of a JORM field.

Author:
P. Dechamboux

Field Summary
 java.lang.String compositeName
           
 java.lang.String name
          The name of the JORM field.
 int size
           
 PType type
          The type of the JORM field.
 
Constructor Summary
FieldDesc(java.lang.String fn, java.lang.String cfn, PType ft)
          It constructs an RdnFieldDesc.
FieldDesc(java.lang.String fn, java.lang.String cfn, PType ft, int sz)
          It constructs an RdnFieldDesc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The name of the JORM field.


compositeName

public java.lang.String compositeName

type

public PType type
The type of the JORM field.


size

public int size
Constructor Detail

FieldDesc

public FieldDesc(java.lang.String fn,
                 java.lang.String cfn,
                 PType ft)
It constructs an RdnFieldDesc.


FieldDesc

public FieldDesc(java.lang.String fn,
                 java.lang.String cfn,
                 PType ft,
                 int sz)
It constructs an RdnFieldDesc.