|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.melati.poem.prepro.FieldDef
org.melati.poem.prepro.AtomFieldDef
org.melati.poem.prepro.BigDecimalFieldDef
public class BigDecimalFieldDef
A definition of a BigDecimalPoemType from the DSD. Its member variables are populated from the DSD or defaults. Its methods are used to generate the java code.
| Field Summary |
|---|
| Fields inherited from class org.melati.poem.prepro.FieldDef |
|---|
displayLevel, displayOrder, lineNumber, name, qualifiers, rawType, searchability, suffix, table, type |
| Constructor Summary | |
|---|---|
BigDecimalFieldDef(int lineNo,
TableDef table,
String name,
int displayOrder,
Vector qualifiers)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getPrecision()
Retrieve the prcision. |
int |
getScale()
Retrieve the scale. |
String |
poemTypeJava()
|
void |
setPrecision(int precision)
Set the precision. |
void |
setScale(int scale)
Set the scale. |
| Methods inherited from class org.melati.poem.prepro.AtomFieldDef |
|---|
generateBaseMethods, generateColRawAccessors, generateJavaDeclaration |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BigDecimalFieldDef(int lineNo,
TableDef table,
String name,
int displayOrder,
Vector qualifiers)
throws org.melati.poem.prepro.IllegalityException
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
IllegalityException - if a semantic inconsistency is detected| Method Detail |
|---|
public String poemTypeJava()
poemTypeJava in class AtomFieldDefPoemType.public int getPrecision()
public void setPrecision(int precision)
precision - public int getScale()
public void setScale(int scale)
scale - the scale to set
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||