Class WBProblemAddtlModelRef

java.lang.Object
com.onenetwork.platform.common.Model
com.onenetwork.platform.common.WBProblemAddtlModelRef
All Implemented Interfaces:
Model, java.io.Serializable

public class WBProblemAddtlModelRef
extends com.onenetwork.platform.common.Model
implements java.io.Serializable
This model holds the additional ModelRef along with primary ModelRef available on WBProblem to reference problem to multiple entities For example, if WBProblem references both Shipment and Movement, Shipment will be persisted to WBProblem and Movement will be persisted on this model.

Java class for WBProblemAddtlModelRef complex type.

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

 <complexType name="WBProblemAddtlModelRef">
   <complexContent>
     <extension base="{http://www.onenetwork.com/Platform}Model">
       <sequence>
         <element name="ActionExecTime" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="ActionName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <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="CreationUser" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="CreationDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="LastModifiedUser" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="LastModifiedDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="LevelModifiedDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="ValueChainId" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="ProblemId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ProblemTypeName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ModelRefId" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="ModelRefModelLevel" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ModelRefDisplay" 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.Calendar actionExecTime  
    protected java.lang.String actionName  
    protected java.util.List<AttributeValue> attributes  
    protected java.util.Calendar creationDate  
    protected java.lang.String creationUser  
    protected StatusMessage error  
    protected java.lang.String inputRefId  
    protected java.util.Calendar lastModifiedDate  
    protected java.lang.String lastModifiedUser  
    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 java.lang.String modelRefDisplay  
    protected long modelRefId  
    protected java.lang.String modelRefModelLevel  
    protected java.lang.String problemId  
    protected java.lang.String problemTypeName  
    static java.lang.String STANDARD_MODEL_NAME
    Constant reference to the standard model name for this JAXB.
    protected java.lang.Long sysProblemId  
    protected com.onenetwork.platform.common.NameValuePairList udfs  
    protected long valueChainId  

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

    keyCoordinationEnabled
  • Constructor Summary

    Constructors 
    Constructor Description
    WBProblemAddtlModelRef()  
  • 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.Calendar getActionExecTime()
    Gets the value of the actionExecTime property.
    java.lang.String getActionName()
    Gets the value of the actionName property.
    java.util.List<AttributeValue> getAttributes()
    Gets the value of the attributes property.
    java.util.Calendar getCreationDate()
    Gets the value of the creationDate property.
    java.lang.String getCreationUser()
    Gets the value of the creationUser property.
    StatusMessage getError()
    Gets the value of the error property.
    java.lang.String getInputRefId()
    Gets the value of the inputRefId property.
    java.util.Calendar getLastModifiedDate()
    Gets the value of the lastModifiedDate property.
    java.lang.String getLastModifiedUser()
    Gets the value of the lastModifiedUser 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.
    java.lang.String getModelRefDisplay()
    Gets the value of the modelRefDisplay property.
    long getModelRefId()
    Gets the value of the modelRefId property.
    java.lang.String getModelRefModelLevel()
    Gets the value of the modelRefModelLevel property.
    com.onenetwork.platform.data.model.impl.ModelType getModelType()
    methods to get ModelType for this JAXB.
    java.lang.String getProblemId()
    Gets the value of the problemId property.
    java.lang.String getProblemTypeName()
    Gets the value of the problemTypeName property.
    java.lang.String getStandardModelName()
    method to get standard model name for this JAXB.
    java.lang.Long getSysProblemId()
    Returns the surrogate id value for SysProblemId.
    com.onenetwork.platform.common.NameValuePairList getUdfs()
    Gets the value of the udfs property.
    long getValueChainId()
    Gets the value of the valueChainId property.
    int hashCode()  
    protected java.lang.String internalToString()  
    boolean isSetActionExecTime()  
    boolean isSetActionName()  
    boolean isSetAttributes()  
    boolean isSetCreationDate()  
    boolean isSetCreationUser()  
    boolean isSetError()  
    boolean isSetInputRefId()  
    boolean isSetLastModifiedDate()  
    boolean isSetLastModifiedUser()  
    boolean isSetLevelModifiedDate()  
    boolean isSetMDFsList()  
    boolean isSetModelRefDisplay()  
    boolean isSetModelRefId()  
    boolean isSetModelRefModelLevel()  
    boolean isSetProblemId()  
    boolean isSetProblemTypeName()  
    boolean isSetUdfs()  
    boolean isSetValueChainId()  
    void setActionExecTime​(java.util.Calendar value)
    Sets the value of the actionExecTime property.
    void setActionName​(java.lang.String value)
    Sets the value of the actionName property.
    void setCreationDate​(java.util.Calendar value)
    Sets the value of the creationDate property.
    void setCreationUser​(java.lang.String value)
    Sets the value of the creationUser 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 setLastModifiedDate​(java.util.Calendar value)
    Sets the value of the lastModifiedDate property.
    void setLastModifiedUser​(java.lang.String value)
    Sets the value of the lastModifiedUser property.
    void setLevelModifiedDate​(java.util.Calendar value)
    Sets the value of the levelModifiedDate property.
    void setModelRefDisplay​(java.lang.String value)
    Sets the value of the modelRefDisplay property.
    void setModelRefId​(long value)
    Sets the value of the modelRefId property.
    void setModelRefModelLevel​(java.lang.String value)
    Sets the value of the modelRefModelLevel property.
    void setProblemId​(java.lang.String value)
    Sets the value of ProblemId, and also nullifies the following surrogate ids: SysProblemId.
    void setProblemTypeName​(java.lang.String value)
    Sets the value of ProblemTypeName, and also nullifies the following surrogate ids: SysProblemId.
    void setSysProblemId​(java.lang.Long value, boolean nullifyNaturalKeys)
    Sets the surrogate id value for SysProblemId.
    void setUdfs​(com.onenetwork.platform.common.NameValuePairList value)
    Sets the value of the udfs property.
    void setValueChainId​(long value)
    Sets the value of the valueChainId property.
    java.lang.String toStrContrib()
    Not intended for use by Clients
    void unsetAttributes()  
    void unsetMDFsList()  

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

    addWarning, copyTransientFields, diff, enableKeyCoordination, fromJSONObject, getAttribute, getAttributeValue, getMDF, getMDFs, getMDFs, getRider, getRider, getRiders, getSysId, getTransientField, getTransientFields, getUdf, getUdfNames, getUdfs, getWarnings, setAttribute, setError, 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

    • actionExecTime

      protected java.util.Calendar actionExecTime
    • actionName

      protected java.lang.String actionName
    • inputRefId

      protected java.lang.String inputRefId
    • error

      protected StatusMessage error
    • creationUser

      protected java.lang.String creationUser
    • creationDate

      protected java.util.Calendar creationDate
    • lastModifiedUser

      protected java.lang.String lastModifiedUser
    • lastModifiedDate

      protected java.util.Calendar lastModifiedDate
    • levelModifiedDate

      protected java.util.Calendar levelModifiedDate
    • valueChainId

      protected long valueChainId
    • problemId

      protected java.lang.String problemId
    • problemTypeName

      protected java.lang.String problemTypeName
    • modelRefId

      protected long modelRefId
    • modelRefModelLevel

      protected java.lang.String modelRefModelLevel
    • modelRefDisplay

      protected java.lang.String modelRefDisplay
    • 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
    • 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.
    • sysProblemId

      protected java.lang.Long sysProblemId
  • Constructor Details

  • Method Details

    • getActionExecTime

      public java.util.Calendar getActionExecTime()
      Gets the value of the actionExecTime property.
      Returns:
      possible object is String
    • setActionExecTime

      public void setActionExecTime​(java.util.Calendar value)
      Sets the value of the actionExecTime property.
      Parameters:
      value - allowed object is String
    • isSetActionExecTime

      public boolean isSetActionExecTime()
    • getActionName

      public java.lang.String getActionName()
      Gets the value of the actionName property.
      Overrides:
      getActionName in class com.onenetwork.platform.common.Model
      Returns:
      possible object is String
    • setActionName

      public void setActionName​(java.lang.String value)
      Sets the value of the actionName property.
      Overrides:
      setActionName in class com.onenetwork.platform.common.Model
      Parameters:
      value - allowed object is String
    • isSetActionName

      public boolean isSetActionName()
    • 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()
    • getCreationUser

      public java.lang.String getCreationUser()
      Gets the value of the creationUser property.
      Returns:
      possible object is String
    • setCreationUser

      public void setCreationUser​(java.lang.String value)
      Sets the value of the creationUser property.
      Parameters:
      value - allowed object is String
    • isSetCreationUser

      public boolean isSetCreationUser()
    • getCreationDate

      public java.util.Calendar getCreationDate()
      Gets the value of the creationDate property.
      Returns:
      possible object is String
    • setCreationDate

      public void setCreationDate​(java.util.Calendar value)
      Sets the value of the creationDate property.
      Parameters:
      value - allowed object is String
    • isSetCreationDate

      public boolean isSetCreationDate()
    • getLastModifiedUser

      public java.lang.String getLastModifiedUser()
      Gets the value of the lastModifiedUser property.
      Specified by:
      getLastModifiedUser in interface Model
      Overrides:
      getLastModifiedUser in class com.onenetwork.platform.common.Model
      Returns:
      possible object is String
    • setLastModifiedUser

      public void setLastModifiedUser​(java.lang.String value)
      Sets the value of the lastModifiedUser property.
      Specified by:
      setLastModifiedUser in interface Model
      Overrides:
      setLastModifiedUser in class com.onenetwork.platform.common.Model
      Parameters:
      value - allowed object is String
    • isSetLastModifiedUser

      public boolean isSetLastModifiedUser()
    • getLastModifiedDate

      public java.util.Calendar getLastModifiedDate()
      Gets the value of the lastModifiedDate property.
      Specified by:
      getLastModifiedDate in interface Model
      Overrides:
      getLastModifiedDate in class com.onenetwork.platform.common.Model
      Returns:
      possible object is String
    • setLastModifiedDate

      public void setLastModifiedDate​(java.util.Calendar value)
      Sets the value of the lastModifiedDate property.
      Specified by:
      setLastModifiedDate in interface Model
      Overrides:
      setLastModifiedDate in class com.onenetwork.platform.common.Model
      Parameters:
      value - allowed object is String
    • isSetLastModifiedDate

      public boolean isSetLastModifiedDate()
    • 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()
    • getValueChainId

      public long getValueChainId()
      Gets the value of the valueChainId property.
    • setValueChainId

      public void setValueChainId​(long value)
      Sets the value of the valueChainId property.
    • isSetValueChainId

      public boolean isSetValueChainId()
    • getProblemId

      public java.lang.String getProblemId()
      Gets the value of the problemId property.
      Returns:
      possible object is String
    • isSetProblemId

      public boolean isSetProblemId()
    • getProblemTypeName

      public java.lang.String getProblemTypeName()
      Gets the value of the problemTypeName property.
      Returns:
      possible object is String
    • isSetProblemTypeName

      public boolean isSetProblemTypeName()
    • getModelRefId

      public long getModelRefId()
      Gets the value of the modelRefId property.
    • setModelRefId

      public void setModelRefId​(long value)
      Sets the value of the modelRefId property.
    • isSetModelRefId

      public boolean isSetModelRefId()
    • getModelRefModelLevel

      public java.lang.String getModelRefModelLevel()
      Gets the value of the modelRefModelLevel property.
      Returns:
      possible object is String
    • setModelRefModelLevel

      public void setModelRefModelLevel​(java.lang.String value)
      Sets the value of the modelRefModelLevel property.
      Parameters:
      value - allowed object is String
    • isSetModelRefModelLevel

      public boolean isSetModelRefModelLevel()
    • getModelRefDisplay

      public java.lang.String getModelRefDisplay()
      Gets the value of the modelRefDisplay property.
      Returns:
      possible object is String
    • setModelRefDisplay

      public void setModelRefDisplay​(java.lang.String value)
      Sets the value of the modelRefDisplay property.
      Parameters:
      value - allowed object is String
    • isSetModelRefDisplay

      public boolean isSetModelRefDisplay()
    • 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()
    • setProblemId

      public void setProblemId​(java.lang.String value)
      Sets the value of ProblemId, and also nullifies the following surrogate ids: SysProblemId. This nullification is done to ensure that a client can set either natural keys or sys id as desired. If you as a client wish to populate *both* natural and surrogate ids, you should set the natural keys first, then set the surrogate ids passing 'false' as the second parameter
      Parameters:
      value - new value for ProblemId - the following will also be nullified: SysProblemId
    • setProblemTypeName

      public void setProblemTypeName​(java.lang.String value)
      Sets the value of ProblemTypeName, and also nullifies the following surrogate ids: SysProblemId. This nullification is done to ensure that a client can set either natural keys or sys id as desired. If you as a client wish to populate *both* natural and surrogate ids, you should set the natural keys first, then set the surrogate ids passing 'false' as the second parameter
      Parameters:
      value - new value for ProblemTypeName - the following will also be nullified: SysProblemId
    • 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
    • getSysProblemId

      public java.lang.Long getSysProblemId()
      Returns the surrogate id value for SysProblemId. After reading a model, this will always match with the corresponding natural keys, which are: problemId, problemTypeName
    • setSysProblemId

      public void setSysProblemId​(java.lang.Long value, boolean nullifyNaturalKeys)
      Sets the surrogate id value for SysProblemId. As a client, when you want to update the model in the database, you may set values either by natural key or by sys id, or by both. Calling this method with 'true' will nullify the natural keys for this surrogate key: problemId, problemTypeName. This ensures the values don't conflict. If you are 'populating' an object and want to set both natural and surrogate keys, you should set the natural keys first, then call this method with 'false' for nullifyNaturalKeys.
      Parameters:
      value - new value for SysProblemId
      nullifyNaturalKeys - true to nullify the related natural keys (problemId, problemTypeName), or false to leave as is - please note that you can pass either surrogate id or natural keys to the server write API, or both