Class FormCreationDataImpl

  • All Implemented Interfaces:
    FormCreationData

    public class FormCreationDataImpl
    extends java.lang.Object
    implements FormCreationData
    Simple DTO containing various objects needed to generate Forms.
    Since:
    3.4
    Author:
    Nick Smith
    • Constructor Summary

      Constructors 
      Constructor Description
      FormCreationDataImpl​(java.lang.Object itemData, java.util.List<java.lang.String> forcedFields, java.util.Map<java.lang.String,​java.lang.Object> context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getContext()  
      java.lang.Object getItemData()  
      boolean isForcedField​(java.lang.String fieldName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FormCreationDataImpl

        public FormCreationDataImpl​(java.lang.Object itemData,
                                    java.util.List<java.lang.String> forcedFields,
                                    java.util.Map<java.lang.String,​java.lang.Object> context)
    • Method Detail

      • isForcedField

        public boolean isForcedField​(java.lang.String fieldName)
        Specified by:
        isForcedField in interface FormCreationData
        Returns:
        If the fieldName given is a forced field then returns true, otherwise returns false.
      • getContext

        public java.util.Map<java.lang.String,​java.lang.Object> getContext()
        Specified by:
        getContext in interface FormCreationData
        Returns:
        the context