org.ephman.abra.tools
Class JField

java.lang.Object
  |
  +--org.ephman.abra.tools.JField
Direct Known Subclasses:
JCompositeField

public class JField
extends java.lang.Object


Field Summary
protected  java.lang.String _collectionType
           
protected  boolean _isCollection
           
protected  boolean _noMarshal
           
(package private)  boolean _required
           
protected  boolean _xmlAttribute
           
(package private)  java.lang.String constraint
           
(package private)  java.lang.String constraintName
           
(package private)  java.lang.String description
           
(package private)  TypeMap dkType
           
(package private)  java.lang.String getSet
           
(package private)  java.lang.String javaName
           
(package private)  java.lang.String length
           
(package private)  java.lang.String mapFileType
           
(package private)  java.lang.String sqlName
           
(package private)  boolean unique
           
 
Constructor Summary
JField()
           
 
Method Summary
 boolean canMarshal()
           
(package private)  boolean exists(java.lang.String n)
           
 java.lang.String getCollectionType()
           
 java.lang.String getConstraint()
          Get the value of constraint.
 java.lang.String getConstraintName()
          Get the value of constraint.
 java.lang.String getDescription()
          Get the value of description.
 TypeMap getDkType()
          Get the value of dkType.
 java.lang.String getGetSet()
           
 java.lang.String getJavaName()
          Get the value of javaName.
 java.lang.String getLength()
           
 java.lang.String getMapFileType()
           
 java.lang.String getObjectDefaultValue()
           
 java.lang.String getObjectType()
           
 java.lang.String getSqlName()
          Get the value of sqlName.
 java.lang.String getSqlType()
           
 boolean isArray()
           
 boolean isArrayList()
           
 boolean isCollection()
           
 boolean isDate()
           
 boolean isDbColumn()
           
 boolean isInline()
           
 boolean isRequired()
           
 boolean isTransient()
           
 boolean isUnique()
          Get the value of unique.
 boolean isVector()
           
 boolean isXmlAttribute()
           
 void setAsDate()
           
 void setCollection(boolean _isCollection)
           
 void setCollectionType(java.lang.String _collectionType)
           
 void setConstraint(java.lang.String v)
          Set the value of constraint.
 void setConstraintName(java.lang.String v)
          Set the value of constraint.
 void setDescription(java.lang.String v)
          Set the value of description.
 void setDkType(TypeMap v)
          Set the value of dkType.
 void setJavaName(java.lang.String v)
          Set the value of javaName.
 void setLength(java.lang.String len)
           
 void setMapFileType(java.lang.String v)
           
 void setRequired()
           
 void setSqlName(java.lang.String v)
          Set the value of sqlName.
 void setToVector()
           
 void setUnique(boolean v)
          Set the value of unique.
 java.lang.String toFileString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

constraintName

java.lang.String constraintName

constraint

java.lang.String constraint

description

java.lang.String description

unique

boolean unique

getSet

java.lang.String getSet

javaName

java.lang.String javaName

dkType

TypeMap dkType

mapFileType

java.lang.String mapFileType

sqlName

java.lang.String sqlName

_isCollection

protected boolean _isCollection

_collectionType

protected java.lang.String _collectionType

_noMarshal

protected boolean _noMarshal

_xmlAttribute

protected boolean _xmlAttribute

_required

boolean _required

length

java.lang.String length
Constructor Detail

JField

public JField()
Method Detail

isInline

public boolean isInline()

getConstraintName

public java.lang.String getConstraintName()
Get the value of constraint.

Returns:
Value of constraint.

setConstraintName

public void setConstraintName(java.lang.String v)
Set the value of constraint.

Parameters:
v - Value to assign to constraint.

getConstraint

public java.lang.String getConstraint()
Get the value of constraint.

Returns:
Value of constraint.

setConstraint

public void setConstraint(java.lang.String v)
Set the value of constraint.

Parameters:
v - Value to assign to constraint.

getDescription

public java.lang.String getDescription()
Get the value of description.

Returns:
value of description.

setDescription

public void setDescription(java.lang.String v)
Set the value of description.

Parameters:
v - Value to assign to description.

isUnique

public boolean isUnique()
Get the value of unique.

Returns:
Value of unique.

setUnique

public void setUnique(boolean v)
Set the value of unique.

Parameters:
v - Value to assign to unique.

isDate

public boolean isDate()

setAsDate

public void setAsDate()

isDbColumn

public boolean isDbColumn()

getGetSet

public java.lang.String getGetSet()

getJavaName

public java.lang.String getJavaName()
Get the value of javaName.

Returns:
Value of javaName.

setJavaName

public void setJavaName(java.lang.String v)
Set the value of javaName.

Parameters:
v - Value to assign to javaName.

getDkType

public TypeMap getDkType()
Get the value of dkType.

Returns:
value of dkType.

setDkType

public void setDkType(TypeMap v)
Set the value of dkType.

Parameters:
v - Value to assign to dkType.

getObjectType

public java.lang.String getObjectType()

getMapFileType

public java.lang.String getMapFileType()

setMapFileType

public void setMapFileType(java.lang.String v)

getObjectDefaultValue

public java.lang.String getObjectDefaultValue()

getSqlName

public java.lang.String getSqlName()
Get the value of sqlName.

Returns:
Value of sqlName.

setSqlName

public void setSqlName(java.lang.String v)
Set the value of sqlName.

Parameters:
v - Value to assign to sqlName.

isTransient

public boolean isTransient()

getSqlType

public java.lang.String getSqlType()

setToVector

public void setToVector()

isCollection

public boolean isCollection()

setCollection

public void setCollection(boolean _isCollection)

getCollectionType

public java.lang.String getCollectionType()

setCollectionType

public void setCollectionType(java.lang.String _collectionType)

isVector

public boolean isVector()

isArray

public boolean isArray()

isArrayList

public boolean isArrayList()

canMarshal

public boolean canMarshal()

isXmlAttribute

public boolean isXmlAttribute()

isRequired

public boolean isRequired()

setRequired

public void setRequired()

getLength

public java.lang.String getLength()

setLength

public void setLength(java.lang.String len)

toFileString

public java.lang.String toFileString()

exists

boolean exists(java.lang.String n)