org.melati.poem.prepro
Class PasswordFieldDef

Package class diagram package PasswordFieldDef
java.lang.Object
  extended by org.melati.poem.prepro.FieldDef
      extended by org.melati.poem.prepro.AtomFieldDef
          extended by org.melati.poem.prepro.StringFieldDef
              extended by org.melati.poem.prepro.PasswordFieldDef

public class PasswordFieldDef
extends StringFieldDef

A definition of a PasswordPoemType 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
PasswordFieldDef(int lineNo, TableDef table, String name, int displayOrder, Vector qualifiers)
          Constructor.
 
Method Summary
 String poemTypeJava()
           
 
Methods inherited from class org.melati.poem.prepro.StringFieldDef
getSize, setSize
 
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

PasswordFieldDef

public PasswordFieldDef(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 file
table - the TableDef that this Field is part of
name - the name of this field
displayOrder - where to place this field in a list
qualifiers - all the qualifiers of this field
Throws:
IllegalityException - if a semantic inconsistency is detected
Method Detail

poemTypeJava

public String poemTypeJava()
Overrides:
poemTypeJava in class StringFieldDef
Returns:
the Java string for this PoemType.


Copyright © 2000-2010 PanEris. All Rights Reserved.