org.yawlfoundation.yawl.resourcing.jsf.dynform
Class DynFormField

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.jsf.dynform.DynFormField
All Implemented Interfaces:
Cloneable

public class DynFormField
extends Object
implements Cloneable

Author: Michael Adams Creation Date: 5/07/2008


Constructor Summary
DynFormField()
           
DynFormField(String name, List<DynFormField> subList)
           
DynFormField(String name, String datatype, String value)
           
 
Method Summary
 void addSubField(DynFormField field)
           
 void addSubFieldList(List<DynFormField> fieldList)
           
 DynFormField clone()
           
 boolean equals(DynFormField other)
           
 String getAlertText()
           
 DynFormUserAttributes getAttributes()
           
 String getBackgroundColour()
           
 String getChoiceID()
           
 String getDatatype()
           
 String getDataTypeUnprefixed()
           
 String getDefaultToolTip()
           
 List<String> getEnumeratedValues()
           
 Font getFont()
           
 String getGroupID()
           
 String getImageAbove()
           
 String getImageAboveAlign()
           
 String getImageBelow()
           
 String getImageBelowAlign()
           
 String getLabelText()
           
 int getLevel()
           
 DynFormFieldListFacet getListType()
           
 long getMaxoccurs()
           
 String getMaxOccursStr()
           
 long getMinoccurs()
           
 String getMinOccursStr()
           
 String getName()
           
 String getNamespacePrefix()
           
 long getOccursCount()
           
 int getOrder()
           
 FormParameter getParam()
           
 DynFormField getParent()
           
 DynFormFieldRestriction getRestriction()
           
 DynFormField getSubField(String name)
           
 List<DynFormField> getSubFieldList()
           
 String getTextAbove()
           
 String getTextBelow()
           
 String getTextJustify()
           
 String getToolTip()
           
 DynFormFieldUnion getUnion()
           
 Font getUserDefinedFont()
           
 String getUserDefinedFontStyle()
           
 String getValue()
           
 boolean hasBlackoutAttribute()
           
 boolean hasEnumeratedValues()
           
 boolean hasHideAttribute()
           
 boolean hasHideIfAttribute(String data)
           
 boolean hasListType()
           
 boolean hasNullValue()
           
 boolean hasParent()
           
 boolean hasRestriction()
           
 boolean hasSkipValidationAttribute()
           
 boolean hasUnion()
           
 boolean hasZeroMinimum()
           
 void hide()
           
 boolean isChoiceField()
           
 boolean isEmptyComplexTypeFlag()
           
 boolean isEmptyOptionalInputOnly()
           
 boolean isFieldContainer()
           
 boolean isGroupedField()
           
 boolean isHidden(String data)
           
 boolean isInputOnly()
           
 boolean isLineAbove()
           
 boolean isLineBelow()
           
 boolean isNullMaxoccurs()
           
 boolean isNullMinoccurs()
           
 boolean isPrimitiveType()
           
 boolean isRequired()
           
 boolean isSimpleField()
           
 boolean isTextArea()
           
 boolean isVisible()
           
 boolean isYDocument()
           
 boolean removeSubField(DynFormField field)
           
 void setAttributes(DynFormUserAttributes attributes)
           
 void setChoiceID(String choiceID)
           
 void setDatatype(String datatype)
           
 void setEmptyComplexTypeFlag(boolean flag)
           
 void setEnumeratedValues(List<String> enumValues)
           
 void setGroupID(String groupID)
           
 void setLevel(int level)
           
 void setListType(DynFormFieldListFacet list)
           
 void setMaxoccurs(long maxoccurs)
           
 void setMaxoccurs(String maxoccurs)
           
 void setMinoccurs(long minoccurs)
           
 void setMinoccurs(String minoccurs)
           
 void setName(String name)
           
 void setNullMaxoccurs(boolean nullMaxoccurs)
           
 void setNullMinoccurs(boolean nullMinoccurs)
           
 void setOccursCount(long occursCount)
           
 void setOrder(int order)
           
 void setParam(FormParameter param)
           
 void setParent(DynFormField parent)
           
 void setRequired(boolean required)
           
 void setRestriction(DynFormFieldRestriction restriction)
           
 void setRestrictionAttributes()
           
 void setSubFieldList(List<DynFormField> subList)
           
 void setUnion(DynFormFieldUnion union)
           
 void setValue(String value)
           
 void show()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynFormField

public DynFormField()

DynFormField

public DynFormField(String name,
                    String datatype,
                    String value)

DynFormField

public DynFormField(String name,
                    List<DynFormField> subList)
Method Detail

clone

public DynFormField clone()
Overrides:
clone in class Object

getName

public String getName()

setName

public void setName(String name)

getDatatype

public String getDatatype()

setDatatype

public void setDatatype(String datatype)

getDataTypeUnprefixed

public String getDataTypeUnprefixed()

getNamespacePrefix

public String getNamespacePrefix()

getValue

public String getValue()

setValue

public void setValue(String value)

getMinoccurs

public long getMinoccurs()

setMinoccurs

public void setMinoccurs(long minoccurs)

getMinOccursStr

public String getMinOccursStr()

setMinoccurs

public void setMinoccurs(String minoccurs)

getMaxoccurs

public long getMaxoccurs()

setMaxoccurs

public void setMaxoccurs(long maxoccurs)

setMaxoccurs

public void setMaxoccurs(String maxoccurs)

getMaxOccursStr

public String getMaxOccursStr()

isNullMinoccurs

public boolean isNullMinoccurs()

setNullMinoccurs

public void setNullMinoccurs(boolean nullMinoccurs)

isNullMaxoccurs

public boolean isNullMaxoccurs()

setNullMaxoccurs

public void setNullMaxoccurs(boolean nullMaxoccurs)

getParam

public FormParameter getParam()

setParam

public void setParam(FormParameter param)

getLevel

public int getLevel()

setLevel

public void setLevel(int level)

getOrder

public int getOrder()

setOrder

public void setOrder(int order)

getOccursCount

public long getOccursCount()

setOccursCount

public void setOccursCount(long occursCount)

getParent

public DynFormField getParent()

setParent

public void setParent(DynFormField parent)

setEmptyComplexTypeFlag

public void setEmptyComplexTypeFlag(boolean flag)

isEmptyComplexTypeFlag

public boolean isEmptyComplexTypeFlag()

setRequired

public void setRequired(boolean required)

isRequired

public boolean isRequired()

hide

public void hide()

show

public void show()

hasZeroMinimum

public boolean hasZeroMinimum()

setEnumeratedValues

public void setEnumeratedValues(List<String> enumValues)

getEnumeratedValues

public List<String> getEnumeratedValues()

hasEnumeratedValues

public boolean hasEnumeratedValues()

setSubFieldList

public void setSubFieldList(List<DynFormField> subList)

getSubFieldList

public List<DynFormField> getSubFieldList()

getSubField

public DynFormField getSubField(String name)

isFieldContainer

public boolean isFieldContainer()

addSubField

public void addSubField(DynFormField field)

addSubFieldList

public void addSubFieldList(List<DynFormField> fieldList)

removeSubField

public boolean removeSubField(DynFormField field)

getGroupID

public String getGroupID()

setGroupID

public void setGroupID(String groupID)

getChoiceID

public String getChoiceID()

setChoiceID

public void setChoiceID(String choiceID)

isChoiceField

public boolean isChoiceField()

isGroupedField

public boolean isGroupedField()

isSimpleField

public boolean isSimpleField()

getFont

public Font getFont()

getRestriction

public DynFormFieldRestriction getRestriction()

setRestriction

public void setRestriction(DynFormFieldRestriction restriction)

hasRestriction

public boolean hasRestriction()

setUnion

public void setUnion(DynFormFieldUnion union)

getUnion

public DynFormFieldUnion getUnion()

hasUnion

public boolean hasUnion()

hasParent

public boolean hasParent()

setListType

public void setListType(DynFormFieldListFacet list)

getListType

public DynFormFieldListFacet getListType()

hasListType

public boolean hasListType()

getAttributes

public DynFormUserAttributes getAttributes()

setAttributes

public void setAttributes(DynFormUserAttributes attributes)

isPrimitiveType

public boolean isPrimitiveType()

equals

public boolean equals(DynFormField other)

getAlertText

public String getAlertText()

getLabelText

public String getLabelText()

isInputOnly

public boolean isInputOnly()

hasHideAttribute

public boolean hasHideAttribute()

hasHideIfAttribute

public boolean hasHideIfAttribute(String data)

isHidden

public boolean isHidden(String data)

isVisible

public boolean isVisible()

isEmptyOptionalInputOnly

public boolean isEmptyOptionalInputOnly()

hasNullValue

public boolean hasNullValue()

getToolTip

public String getToolTip()

getDefaultToolTip

public String getDefaultToolTip()

hasSkipValidationAttribute

public boolean hasSkipValidationAttribute()

getTextJustify

public String getTextJustify()

hasBlackoutAttribute

public boolean hasBlackoutAttribute()

getUserDefinedFontStyle

public String getUserDefinedFontStyle()

getBackgroundColour

public String getBackgroundColour()

isTextArea

public boolean isTextArea()

isYDocument

public boolean isYDocument()

getImageAbove

public String getImageAbove()

getImageBelow

public String getImageBelow()

getImageAboveAlign

public String getImageAboveAlign()

getImageBelowAlign

public String getImageBelowAlign()

isLineAbove

public boolean isLineAbove()

isLineBelow

public boolean isLineBelow()

getTextAbove

public String getTextAbove()

getTextBelow

public String getTextBelow()

getUserDefinedFont

public Font getUserDefinedFont()

setRestrictionAttributes

public void setRestrictionAttributes()


Copyright © 2004-2012 The YAWL Foundation.