public class StringKeyReferenceFieldDef extends FieldDef
capitalisedName, displayLevel, displayOrder, fieldQualifiers, lineNumber, name, rawType, searchability, table, typeShortName| Constructor and Description |
|---|
StringKeyReferenceFieldDef(int lineNo,
TableDef table,
String name,
String targetFieldName,
int displayOrder,
String type,
Vector<FieldQualifier> qualifiers)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generateBaseMethods(Writer w)
Write out this
Column's base methods. |
protected void |
generateColRawAccessors(Writer w)
Write out this
Column's field accessors as part of the
anonymous definition of the Column. |
void |
generateJavaDeclaration(Writer w)
Write out this
Field's java declaration string. |
TableNamingInfo |
getTargetTableNamingInfo()
Due to possible forward references this could be null until we finish parse
|
String |
poemTypeJava() |
void |
setIntegrityFix(String integrityFixIn) |
void |
setSize(int sizeP)
Set the size property.
|
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, toStringpublic StringKeyReferenceFieldDef(int lineNo,
TableDef table,
String name,
String targetFieldName,
int displayOrder,
String type,
Vector<FieldQualifier> 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 field in this tabletargetFieldName - the name of the key field in targettype - the type of this field, ie the target table namedisplayOrder - where to place this field in a listqualifiers - all the qualifiers of this fieldIllegalityException - if a semantic inconsistency is detectedpublic TableNamingInfo getTargetTableNamingInfo()
protected void generateColRawAccessors(Writer w) throws IOException
FieldDefColumn's field accessors as part of the
anonymous definition of the Column.generateColRawAccessors in class FieldDefw - The base table java file.IOException - if something goes wrong with the file systempublic void generateBaseMethods(Writer w) throws IOException
FieldDefColumn's base methods.generateBaseMethods in class FieldDefw - The base persistent java file.IOException - if something goes wrong with the file systempublic void generateJavaDeclaration(Writer w) throws IOException
Field's java declaration string.generateJavaDeclaration in class FieldDefw - The base persistent java file.IOException - if something goes wrong with the file systempublic String poemTypeJava()
poemTypeJava in class FieldDefPoemType.public void setSize(int sizeP)
sizeP - the size to setpublic void setIntegrityFix(String integrityFixIn)
Copyright © 2000–2015 PanEris. All rights reserved.