Class DynaFieldComp

java.lang.Object
com.onenetwork.platform.common.Model
com.onenetwork.platform.common.DynaFieldComp
All Implemented Interfaces:
com.onenetwork.platform.common.impl.Child<DynaFieldDef>, Model, java.io.Serializable

public class DynaFieldComp
extends com.onenetwork.platform.common.Model
implements java.io.Serializable, com.onenetwork.platform.common.impl.Child<DynaFieldDef>
Child model of DynaFieldDef which persists components in the DynaField. Each componet can have properties like Name, Data Type, i18n Label, Requiredness, etc.

Java class for DynaFieldComp complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="DynaFieldComp">
   <complexContent>
     <extension base="{http://www.onenetwork.com/Platform}Model">
       <sequence>
         <element name="InputRefId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Error" type="{http://www.onenetwork.com/Platform}Error" minOccurs="0"/>
         <element name="LevelCreationDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="LevelModifiedDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="CompName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Required" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="Validator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ValidatorExplanation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ValidatorFormat" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="EnumType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Config" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Udfs" type="{http://www.onenetwork.com/Platform}NameValuePairList" minOccurs="0"/>
         <element ref="{http://www.onenetwork.com/Platform}MDFs" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Attribute" type="{http://www.onenetwork.com/Platform}AttributeValue" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.util.List<AttributeValue> attributes  
    protected java.lang.String compName  
    protected java.lang.String config  
    protected java.lang.String enumType  
    protected StatusMessage error  
    protected java.lang.String inputRefId  
    protected java.lang.String label  
    protected java.util.Calendar levelCreationDate  
    protected java.util.Calendar levelModifiedDate  
    protected java.util.List<javax.xml.bind.JAXBElement<? extends com.onenetwork.platform.common.MDFs>> mdFsList  
    static com.onenetwork.platform.data.model.impl.ModelLevelType MODEL_LEVEL_TYPE
    Constant reference to the ModelLevelType for this JAXB.
    static com.onenetwork.platform.data.model.impl.ModelType MODEL_TYPE
    Constant reference to the ModelType for this JAXB.
    protected DynaFieldDef parent
    Reference to the parent DynaFieldDef
    protected java.lang.Boolean required  
    static java.lang.String STANDARD_MODEL_NAME
    Constant reference to the standard model name for this JAXB.
    protected java.lang.String type  
    protected com.onenetwork.platform.common.NameValuePairList udfs  
    protected java.lang.String validator  
    protected java.lang.String validatorExplanation  
    protected java.lang.String validatorFormat  

    Fields inherited from class com.onenetwork.platform.common.Model

    keyCoordinationEnabled
  • Constructor Summary

    Constructors 
    Constructor Description
    DynaFieldComp()  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)
    A Model object is considered "equal" to another Model object if it is a Model of the same type and its Natural Key fields are identical.
    java.util.List<AttributeValue> getAttributes()
    Gets the value of the attributes property.
    java.lang.String getCompName()
    Gets the value of the compName property.
    java.lang.String getConfig()
    Gets the value of the config property.
    java.lang.String getEnumType()
    Gets the value of the enumType property.
    StatusMessage getError()
    Gets the value of the error property.
    java.lang.String getInputRefId()
    Gets the value of the inputRefId property.
    java.lang.String getLabel()
    Gets the value of the label property.
    java.util.Calendar getLevelCreationDate()
    Gets the value of the levelCreationDate property.
    java.util.Calendar getLevelModifiedDate()
    Gets the value of the levelModifiedDate property.
    java.util.List<javax.xml.bind.JAXBElement<? extends com.onenetwork.platform.common.MDFs>> getMDFsList()
    Gets the value of the mdFsList property.
    com.onenetwork.platform.data.model.impl.ModelLevelType getModelLevelType()
    methods to get ModelLevelType for this JAXB.
    com.onenetwork.platform.data.model.impl.ModelType getModelType()
    methods to get ModelType for this JAXB.
    DynaFieldDef getParent()
    Returns the parent DynaFieldDef.
    java.lang.String getStandardModelName()
    method to get standard model name for this JAXB.
    java.lang.String getType()
    Gets the value of the type property.
    com.onenetwork.platform.common.NameValuePairList getUdfs()
    Gets the value of the udfs property.
    java.lang.String getValidator()
    Gets the value of the validator property.
    java.lang.String getValidatorExplanation()
    Gets the value of the validatorExplanation property.
    java.lang.String getValidatorFormat()
    Gets the value of the validatorFormat property.
    int hashCode()  
    protected java.lang.String internalToString()  
    boolean isRequired()  
    boolean isSetAttributes()  
    boolean isSetCompName()  
    boolean isSetConfig()  
    boolean isSetEnumType()  
    boolean isSetError()  
    boolean isSetInputRefId()  
    boolean isSetLabel()  
    boolean isSetLevelCreationDate()  
    boolean isSetLevelModifiedDate()  
    boolean isSetMDFsList()  
    boolean isSetRequired()  
    boolean isSetType()  
    boolean isSetUdfs()  
    boolean isSetValidator()  
    boolean isSetValidatorExplanation()  
    boolean isSetValidatorFormat()  
    void setCompName​(java.lang.String value)
    Sets the value of the compName property.
    void setConfig​(java.lang.String value)
    Sets the value of the config property.
    void setEnumType​(java.lang.String value)
    Sets the value of the enumType property.
    void setError​(StatusMessage value)
    Sets the value of the error property.
    void setInputRefId​(java.lang.String value)
    Sets the value of the inputRefId property.
    void setLabel​(java.lang.String value)
    Sets the value of the label property.
    void setLevelCreationDate​(java.util.Calendar value)
    Sets the value of the levelCreationDate property.
    void setLevelModifiedDate​(java.util.Calendar value)
    Sets the value of the levelModifiedDate property.
    void setParent​(DynaFieldDef parent)
    Sets the parent DynaFieldDef.
    void setRequired​(boolean value)
    Sets the value of the required property.
    void setType​(java.lang.String value)
    Sets the value of the type property.
    void setUdfs​(com.onenetwork.platform.common.NameValuePairList value)
    Sets the value of the udfs property.
    void setValidator​(java.lang.String value)
    Sets the value of the validator property.
    void setValidatorExplanation​(java.lang.String value)
    Sets the value of the validatorExplanation property.
    void setValidatorFormat​(java.lang.String value)
    Sets the value of the validatorFormat property.
    java.lang.String toStrContrib()
    Not intended for use by Clients
    void unsetAttributes()  
    void unsetMDFsList()  
    void unsetRequired()  

    Methods inherited from class com.onenetwork.platform.common.Model

    addWarning, copyTransientFields, diff, enableKeyCoordination, fromJSONObject, getActionName, getAttribute, getAttributeValue, getLastModifiedDate, getLastModifiedUser, getMDF, getMDFs, getMDFs, getRider, getRider, getRiders, getSysId, getTransientField, getTransientFields, getUdf, getUdfNames, getUdfs, getWarnings, setActionName, setAttribute, setError, setLastModifiedDate, setLastModifiedUser, setMDF, setSysId, setTransientField, setUdf, toJSONObject, toJSONObject, toJSONObjectExternal, toJSONObjectFullySerialized, toString, toXML

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • inputRefId

      protected java.lang.String inputRefId
    • error

      protected StatusMessage error
    • levelCreationDate

      protected java.util.Calendar levelCreationDate
    • levelModifiedDate

      protected java.util.Calendar levelModifiedDate
    • compName

      protected java.lang.String compName
    • label

      protected java.lang.String label
    • type

      protected java.lang.String type
    • required

      protected java.lang.Boolean required
    • validator

      protected java.lang.String validator
    • validatorExplanation

      protected java.lang.String validatorExplanation
    • validatorFormat

      protected java.lang.String validatorFormat
    • enumType

      protected java.lang.String enumType
    • config

      protected java.lang.String config
    • udfs

      protected com.onenetwork.platform.common.NameValuePairList udfs
    • mdFsList

      protected java.util.List<javax.xml.bind.JAXBElement<? extends com.onenetwork.platform.common.MDFs>> mdFsList
    • attributes

      protected java.util.List<AttributeValue> attributes
    • parent

      protected DynaFieldDef parent
      Reference to the parent DynaFieldDef
    • MODEL_TYPE

      public static final com.onenetwork.platform.data.model.impl.ModelType MODEL_TYPE
      Constant reference to the ModelType for this JAXB.
    • MODEL_LEVEL_TYPE

      public static final com.onenetwork.platform.data.model.impl.ModelLevelType MODEL_LEVEL_TYPE
      Constant reference to the ModelLevelType for this JAXB.
    • STANDARD_MODEL_NAME

      public static final java.lang.String STANDARD_MODEL_NAME
      Constant reference to the standard model name for this JAXB.
  • Constructor Details

  • Method Details

    • getInputRefId

      public java.lang.String getInputRefId()
      Gets the value of the inputRefId property.
      Returns:
      possible object is String
    • setInputRefId

      public void setInputRefId​(java.lang.String value)
      Sets the value of the inputRefId property.
      Parameters:
      value - allowed object is String
    • isSetInputRefId

      public boolean isSetInputRefId()
    • getError

      public StatusMessage getError()
      Gets the value of the error property.
      Specified by:
      getError in interface Model
      Overrides:
      getError in class com.onenetwork.platform.common.Model
      Returns:
      possible object is ErrorDef
    • setError

      public void setError​(StatusMessage value)
      Sets the value of the error property.
      Specified by:
      setError in interface Model
      Overrides:
      setError in class com.onenetwork.platform.common.Model
      Parameters:
      value - allowed object is ErrorDef
    • isSetError

      public boolean isSetError()
    • getLevelCreationDate

      public java.util.Calendar getLevelCreationDate()
      Gets the value of the levelCreationDate property.
      Returns:
      possible object is String
    • setLevelCreationDate

      public void setLevelCreationDate​(java.util.Calendar value)
      Sets the value of the levelCreationDate property.
      Parameters:
      value - allowed object is String
    • isSetLevelCreationDate

      public boolean isSetLevelCreationDate()
    • getLevelModifiedDate

      public java.util.Calendar getLevelModifiedDate()
      Gets the value of the levelModifiedDate property.
      Returns:
      possible object is String
    • setLevelModifiedDate

      public void setLevelModifiedDate​(java.util.Calendar value)
      Sets the value of the levelModifiedDate property.
      Parameters:
      value - allowed object is String
    • isSetLevelModifiedDate

      public boolean isSetLevelModifiedDate()
    • getCompName

      public java.lang.String getCompName()
      Gets the value of the compName property.
      Returns:
      possible object is String
    • setCompName

      public void setCompName​(java.lang.String value)
      Sets the value of the compName property.
      Parameters:
      value - allowed object is String
    • isSetCompName

      public boolean isSetCompName()
    • getLabel

      public java.lang.String getLabel()
      Gets the value of the label property.
      Returns:
      possible object is String
    • setLabel

      public void setLabel​(java.lang.String value)
      Sets the value of the label property.
      Parameters:
      value - allowed object is String
    • isSetLabel

      public boolean isSetLabel()
    • getType

      public java.lang.String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType​(java.lang.String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • isSetType

      public boolean isSetType()
    • setRequired

      public void setRequired​(boolean value)
      Sets the value of the required property.
      Parameters:
      value - allowed object is Boolean
    • isSetRequired

      public boolean isSetRequired()
    • getValidator

      public java.lang.String getValidator()
      Gets the value of the validator property.
      Returns:
      possible object is String
    • setValidator

      public void setValidator​(java.lang.String value)
      Sets the value of the validator property.
      Parameters:
      value - allowed object is String
    • isSetValidator

      public boolean isSetValidator()
    • getValidatorExplanation

      public java.lang.String getValidatorExplanation()
      Gets the value of the validatorExplanation property.
      Returns:
      possible object is String
    • setValidatorExplanation

      public void setValidatorExplanation​(java.lang.String value)
      Sets the value of the validatorExplanation property.
      Parameters:
      value - allowed object is String
    • isSetValidatorExplanation

      public boolean isSetValidatorExplanation()
    • getValidatorFormat

      public java.lang.String getValidatorFormat()
      Gets the value of the validatorFormat property.
      Returns:
      possible object is String
    • setValidatorFormat

      public void setValidatorFormat​(java.lang.String value)
      Sets the value of the validatorFormat property.
      Parameters:
      value - allowed object is String
    • isSetValidatorFormat

      public boolean isSetValidatorFormat()
    • getEnumType

      public java.lang.String getEnumType()
      Gets the value of the enumType property.
      Returns:
      possible object is String
    • setEnumType

      public void setEnumType​(java.lang.String value)
      Sets the value of the enumType property.
      Parameters:
      value - allowed object is String
    • isSetEnumType

      public boolean isSetEnumType()
    • getConfig

      public java.lang.String getConfig()
      Gets the value of the config property.
      Returns:
      possible object is String
    • setConfig

      public void setConfig​(java.lang.String value)
      Sets the value of the config property.
      Parameters:
      value - allowed object is String
    • isSetConfig

      public boolean isSetConfig()
    • getUdfs

      public com.onenetwork.platform.common.NameValuePairList getUdfs()
      Gets the value of the udfs property.
      Overrides:
      getUdfs in class com.onenetwork.platform.common.Model
      Returns:
      possible object is NameValuePairList
    • setUdfs

      public void setUdfs​(com.onenetwork.platform.common.NameValuePairList value)
      Sets the value of the udfs property.
      Overrides:
      setUdfs in class com.onenetwork.platform.common.Model
      Parameters:
      value - allowed object is NameValuePairList
    • isSetUdfs

      public boolean isSetUdfs()
      Overrides:
      isSetUdfs in class com.onenetwork.platform.common.Model
    • getMDFsList

      public java.util.List<javax.xml.bind.JAXBElement<? extends com.onenetwork.platform.common.MDFs>> getMDFsList()
      Gets the value of the mdFsList property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the mdFsList property.

      For example, to add a new item, do as follows:

          getMDFsList().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<DummyMDFs> JAXBElement<MDFs>

      Overrides:
      getMDFsList in class com.onenetwork.platform.common.Model
    • isSetMDFsList

      public boolean isSetMDFsList()
    • unsetMDFsList

      public void unsetMDFsList()
    • getAttributes

      public java.util.List<AttributeValue> getAttributes()
      Gets the value of the attributes property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the attributes property.

      For example, to add a new item, do as follows:

          getAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list AttributeValue

      Overrides:
      getAttributes in class com.onenetwork.platform.common.Model
    • isSetAttributes

      public boolean isSetAttributes()
    • unsetAttributes

      public void unsetAttributes()
    • getParent

      public DynaFieldDef getParent()
      Returns the parent DynaFieldDef. This is an in-memory retrieval and does not perform a database lookup
      Specified by:
      getParent in interface com.onenetwork.platform.common.impl.Child<DynaFieldDef>
      Returns:
      parent DynaFieldDef
    • setParent

      public void setParent​(DynaFieldDef parent)
      Sets the parent DynaFieldDef. This is an in-memory set and does not perform a database write
      Specified by:
      setParent in interface com.onenetwork.platform.common.impl.Child<DynaFieldDef>
      Parameters:
      parent - new parent DynaFieldDef
    • isRequired

      public boolean isRequired()
    • unsetRequired

      public void unsetRequired()
    • equals

      public boolean equals​(java.lang.Object obj)
      Description copied from interface: Model
      A Model object is considered "equal" to another Model object if it is a Model of the same type and its Natural Key fields are identical.
      Specified by:
      equals in interface Model
      Overrides:
      equals in class java.lang.Object
      Parameters:
      obj - object to compare
      Returns:
      true if the object is the same type of Model with identical Natural Key fields
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • internalToString

      protected java.lang.String internalToString()
      Overrides:
      internalToString in class com.onenetwork.platform.common.Model
    • toStrContrib

      public java.lang.String toStrContrib()
      Not intended for use by Clients
    • getModelType

      public com.onenetwork.platform.data.model.impl.ModelType getModelType()
      methods to get ModelType for this JAXB.
      Overrides:
      getModelType in class com.onenetwork.platform.common.Model
    • getModelLevelType

      public com.onenetwork.platform.data.model.impl.ModelLevelType getModelLevelType()
      methods to get ModelLevelType for this JAXB.
      Overrides:
      getModelLevelType in class com.onenetwork.platform.common.Model
    • getStandardModelName

      public java.lang.String getStandardModelName()
      method to get standard model name for this JAXB.
      Overrides:
      getStandardModelName in class com.onenetwork.platform.common.Model