org.melati.poem.prepro
Class BinaryFieldDef
java.lang.Object
org.melati.poem.prepro.FieldDef
org.melati.poem.prepro.AtomFieldDef
org.melati.poem.prepro.BinaryFieldDef
public class BinaryFieldDef
- extends AtomFieldDef
A definition of a BinaryPoemType from the DSD.
Its member variables are populated from the DSD or defaults. Its methods are
used to generate the java code.
| 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 |
BinaryFieldDef
public BinaryFieldDef(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
poemTypeJava
public String poemTypeJava()
- Overrides:
poemTypeJava in class AtomFieldDef
- Returns:
- the Java string for this
PoemType.
getSize
public int getSize()
- Get the size.
- Returns:
- the size
setSize
public void setSize(int size)
- Set the size property.
- Parameters:
size - the size to set
Copyright © 2000-2010 PanEris. All Rights Reserved.