Field

public class Field implements Comparable<Field>

Created: 2007-05-27 10:56:06

Author:bmalkow

Constructors

Field

public Field(Element fieldElement)

Methods

cloneShalow

public Field cloneShalow()

compareTo

public int compareTo(Field o)

fieldBoolean

public static Field fieldBoolean(String var, Boolean value, String label)

fieldFixed

public static Field fieldFixed(String value)

fieldHidden

public static Field fieldHidden(String var, String value)

fieldJidMulti

public static Field fieldJidMulti(String var, String[] values, String label)

fieldJidSingle

public static Field fieldJidSingle(String var, String value, String label)

fieldListMulti

public static Field fieldListMulti(String var, String[] values, String label, String[] optionsLabel, String[] optionsValue)

fieldListSingle

public static Field fieldListSingle(String var, String value, String label, String[] optionsLabel, String[] optionsValue)

fieldTextMulti

public static Field fieldTextMulti(String var, String value, String label)

fieldTextMulti

public static Field fieldTextMulti(String var, String[] values, String label)

fieldTextPrivate

public static Field fieldTextPrivate(String var, String value, String label)

fieldTextSingle

public static Field fieldTextSingle(String var, String value, String label)

getAsBoolean

public static Boolean getAsBoolean(Field f)

getDescription

public String getDescription()

getElement

public Element getElement()

getElement

public Element getElement(boolean type, boolean label)

getLabel

public String getLabel()

getOptionLabels

public String[] getOptionLabels()

getOptionValues

public String[] getOptionValues()

getType

public FieldType getType()

getValue

public String getValue()

getValues

public String[] getValues()

getVar

public String getVar()

isRequired

public boolean isRequired()

main

public static void main(String[] args)

setDescription

public void setDescription(String description)

setLabel

public void setLabel(String label)

setOptionLabels

public void setOptionLabels(String[] optionLabels)

setOptionValues

public void setOptionValues(String[] optionValues)

setRequired

public void setRequired(boolean required)

setType

public void setType(FieldType type)

setValues

public void setValues(String[] values)

setVar

public void setVar(String var)

toString

public String toString()