org.kuali.student.common.ui.client.configurable.mvc.multiplicity
Class MultiplicityFieldConfiguration

java.lang.Object
  extended by org.kuali.student.common.ui.client.configurable.mvc.multiplicity.MultiplicityFieldConfiguration

public class MultiplicityFieldConfiguration
extends Object


Constructor Summary
MultiplicityFieldConfiguration(String fieldPath, MessageKeyInfo messageKeyInfo, Metadata metadata, MultiplicityFieldWidgetInitializer fieldWidgetInitializer)
           
 
Method Summary
 String getFieldPath()
           
 MultiplicityFieldWidgetInitializer getFieldWidgetInitializer()
           
 MessageKeyInfo getMessageKeyInfo()
           
 Metadata getMetadata()
           
 ModelWidgetBinding getModelWidgetBinding()
           
 boolean isOptional()
          Fields that are optional should not be displayed if there is no data in some cases, it is up to the section implementation whether or not to honor this flag
 boolean isRequired()
           
 void setFieldPath(String fieldPath)
           
 void setFieldWidgetInitializer(MultiplicityFieldWidgetInitializer fieldWidgetInitializer)
           
 void setMessageKeyInfo(MessageKeyInfo messageKeyInfo)
           
 void setMetadata(Metadata metadata)
           
 void setModelWidgetBinding(ModelWidgetBinding modelWidgetBinding)
           
 void setOptional(boolean optional)
          Sets the optional flag Fields that are optional should not be displayed if there is no data in some cases, it is up to the section implementation whether or not to honor this flag
 void setRequired(boolean isRequired)
           
protected  void setupField()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiplicityFieldConfiguration

public MultiplicityFieldConfiguration(String fieldPath,
                                      MessageKeyInfo messageKeyInfo,
                                      Metadata metadata,
                                      MultiplicityFieldWidgetInitializer fieldWidgetInitializer)
Method Detail

getFieldPath

public String getFieldPath()

setFieldPath

public void setFieldPath(String fieldPath)

getMessageKeyInfo

public MessageKeyInfo getMessageKeyInfo()

setMessageKeyInfo

public void setMessageKeyInfo(MessageKeyInfo messageKeyInfo)

getMetadata

public Metadata getMetadata()

setMetadata

public void setMetadata(Metadata metadata)

getFieldWidgetInitializer

public MultiplicityFieldWidgetInitializer getFieldWidgetInitializer()

setFieldWidgetInitializer

public void setFieldWidgetInitializer(MultiplicityFieldWidgetInitializer fieldWidgetInitializer)

isRequired

public boolean isRequired()

setRequired

public void setRequired(boolean isRequired)

setModelWidgetBinding

public void setModelWidgetBinding(ModelWidgetBinding modelWidgetBinding)

getModelWidgetBinding

public ModelWidgetBinding getModelWidgetBinding()

setOptional

public void setOptional(boolean optional)
Sets the optional flag Fields that are optional should not be displayed if there is no data in some cases, it is up to the section implementation whether or not to honor this flag

Parameters:
optional -

isOptional

public boolean isOptional()
Fields that are optional should not be displayed if there is no data in some cases, it is up to the section implementation whether or not to honor this flag


setupField

protected void setupField()


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.