de.mguennewig.pobjects.metadata
Class ValueEntry

java.lang.Object
  extended by de.mguennewig.pobjects.metadata.Column
      extended by de.mguennewig.pobjects.metadata.FormEntry
          extended by de.mguennewig.pobjects.metadata.ValueEntry
Direct Known Subclasses:
ArrayEntry, InputEntry, RecordEntry

public abstract class ValueEntry
extends FormEntry

Abstract base class for all form entries, which handle values.

Author:
Michael Günnewig

Field Summary
static int RENDER_AS_DISABLED
           
static int RENDER_AS_HIDDEN
           
static int RENDER_AS_INPUT
           
static int RENDER_AS_TEXT
           
 
Fields inherited from class de.mguennewig.pobjects.metadata.FormEntry
ADD_METHOD, CHANGED_METHOD, CLASS_NAME, LAYOUT_NO_HEADER_CELL, LAYOUT_PULL_IN, LAYOUT_PULL_IN_CELL, LAYOUT_STANDARD
 
Fields inherited from class de.mguennewig.pobjects.metadata.Column
GET_METHOD, GET_METHOD_VISUAL, MEMBER_ATTR, MEMBER_ATTR_TYPE, MEMBER_NAME, SET_METHOD
 
Constructor Summary
ValueEntry(java.lang.String name, Type type)
          Creates a new normal rendered form entry with standard layout.
ValueEntry(java.lang.String name, Type type, int layout)
          Creates a new normal rendered form entry.
ValueEntry(java.lang.String name, Type type, int layout, int renderAs)
          Creates a new form entry for values.
 
Method Summary
 int getRenderAs()
          Returns how this form entry will be rendered.
 
Methods inherited from class de.mguennewig.pobjects.metadata.FormEntry
getLayout, name
 
Methods inherited from class de.mguennewig.pobjects.metadata.Column
getDescription, getIndex, getName, getSchemaName, getType, setDescription, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RENDER_AS_INPUT

public static final int RENDER_AS_INPUT
See Also:
Constant Field Values

RENDER_AS_TEXT

public static final int RENDER_AS_TEXT
See Also:
Constant Field Values

RENDER_AS_HIDDEN

public static final int RENDER_AS_HIDDEN
See Also:
Constant Field Values

RENDER_AS_DISABLED

public static final int RENDER_AS_DISABLED
See Also:
Constant Field Values
Constructor Detail

ValueEntry

public ValueEntry(java.lang.String name,
                  Type type)
Creates a new normal rendered form entry with standard layout.

Parameters:
name - A unique string, which represents this form entry.
type - Specifies the attribute type, which this entry will use.

ValueEntry

public ValueEntry(java.lang.String name,
                  Type type,
                  int layout)
Creates a new normal rendered form entry.

Parameters:
name - A unique string, which represents this form entry.
type - Specifies the attribute type, which this entry will use.
layout - Specifies the layout for this form entry.

ValueEntry

public ValueEntry(java.lang.String name,
                  Type type,
                  int layout,
                  int renderAs)
Creates a new form entry for values.

Parameters:
name - A unique string, which represents this form entry.
type - Specifies the attribute type, which this entry will use.
layout - Specifies the layout for this form entry.
renderAs - Specifies how this entry will be rendered.
Method Detail

getRenderAs

public final int getRenderAs()
Returns how this form entry will be rendered.