org.ephman.abra.tools
Class JCompositeField

java.lang.Object
  |
  +--org.ephman.abra.tools.JField
        |
        +--org.ephman.abra.tools.JCompositeField

public class JCompositeField
extends JField

Title: JCompositeField

Description: For composite objects (ie User has a Company as a field)

Copyright: Copyright (c) 2001 Paul Bethe and Richie Bielak

Version:
0.1.0
Author:
Paul Bethe

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

Field Detail

inline

boolean inline

prefix

java.lang.String prefix

jClass

JClass jClass
Constructor Detail

JCompositeField

public JCompositeField()
Method Detail

isDbColumn

public boolean isDbColumn()
Overrides:
isDbColumn in class JField

getObjectDefaultValue

public java.lang.String getObjectDefaultValue()
override in base class.. check for inline..

Overrides:
getObjectDefaultValue in class JField

setInline

public void setInline()

isInline

public boolean isInline()
Overrides:
isInline in class JField

setPrefix

public void setPrefix(java.lang.String p)

getPrefix

public java.lang.String getPrefix()

getJClass

public JClass getJClass()
Get the value of jClass.

Returns:
Value of jClass.

setJClass

public void setJClass(JClass v)
Set the value of jClass.

Parameters:
v - Value to assign to jClass.