org.melati.poem.prepro
Class ColumnTypeFieldDef
java.lang.Object
org.melati.poem.prepro.FieldDef
org.melati.poem.prepro.ColumnTypeFieldDef
public class ColumnTypeFieldDef
- extends FieldDef
A definition of a ColumnTypePoemType.
A ColumnType is a metadata field, is used in Poem.dsd
and is not usually used in normal DSD files.
| Methods inherited from class org.melati.poem.prepro.FieldDef |
from, generateColAccessor, generateColDecl, generateColDefinition, generateFieldCreator, getHeight, getWidth, isCreateable, isDeletedColumn, isEditable, isIndexed, isNullable, isSortDescending, isTroidColumn, isUnique, setCreateable, setDeletedColumn, setEditable, setHeight, setIndexed, setNullable, setSortDescending, setTroidColumn, setUnique, setWidth, toString |
ColumnTypeFieldDef
public ColumnTypeFieldDef(int lineNo,
TableDef table,
String name,
int displayOrder,
Vector qualifiers)
throws org.melati.poem.prepro.IllegalityException
- Constructor.
- Parameters:
lineNo - the line number in the DSD filetable - the TableDef that this Field is
part ofname - the name of this fielddisplayOrder - where to place this field in a listqualifiers - all the qualifiers of this field
- Throws:
IllegalityException - if a semantic inconsistency is detected
generateColRawAccessors
protected void generateColRawAccessors(Writer w)
throws IOException
- Description copied from class:
FieldDef
- Write out this
Column's field accessors as part of the
anonymous definition of the Column.
- Overrides:
generateColRawAccessors in class FieldDef
- Parameters:
w - The base table java file.
- Throws:
IOException - if something goes wrong with the file system
generateBaseMethods
public void generateBaseMethods(Writer w)
throws IOException
- Description copied from class:
FieldDef
- Write out this
Column's base methods.
- Overrides:
generateBaseMethods in class FieldDef
- Parameters:
w - The base persistent java file.
- Throws:
IOException - if something goes wrong with the file system
generateJavaDeclaration
public void generateJavaDeclaration(Writer w)
throws IOException
- Description copied from class:
FieldDef
- Write out this
Field's java declaration string.
- Specified by:
generateJavaDeclaration in class FieldDef
- Parameters:
w - whatever is being written to
- Throws:
IOException - if something goes wrong with the file system
poemTypeJava
public String poemTypeJava()
- Specified by:
poemTypeJava in class FieldDef
- Returns:
- the Java string for this
PoemType.
Copyright © 2000-2010 PanEris. All Rights Reserved.