de.mguennewig.pobjects.metadata
Class ArrayEntry

java.lang.Object
  extended by de.mguennewig.pobjects.metadata.Column
      extended by de.mguennewig.pobjects.metadata.FormEntry
          extended by de.mguennewig.pobjects.metadata.ValueEntry
              extended by de.mguennewig.pobjects.metadata.ArrayEntry

public class ArrayEntry
extends ValueEntry

A form entry for an array of the same type of form entries.

Author:
Michael Günnewig

Field Summary
 
Fields inherited from class de.mguennewig.pobjects.metadata.ValueEntry
RENDER_AS_DISABLED, RENDER_AS_HIDDEN, RENDER_AS_INPUT, 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
ArrayEntry(java.lang.String name, FormEntry childEntry)
          Creates a new array entry for an attribute with standard layout.
 
Method Summary
 FormEntry getChildEntry()
          Returns the form entry specification for the elements of the array.
 
Methods inherited from class de.mguennewig.pobjects.metadata.ValueEntry
getRenderAs
 
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
 

Constructor Detail

ArrayEntry

public ArrayEntry(java.lang.String name,
                  FormEntry childEntry)
Creates a new array entry for an attribute with standard layout.

Parameters:
name - A unique string, which represents this form entry.
childEntry - The form entry specification for the elements of the array.
Throws:
java.lang.IllegalArgumentException - if no childEntry is given.
Method Detail

getChildEntry

public final FormEntry getChildEntry()
Returns the form entry specification for the elements of the array.