Class AsyncAction

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

public class AsyncAction
extends com.onenetwork.platform.common.Model
implements java.io.Serializable
Tracks the status of a user-initiated asynchrounous action execution through UI

Java class for AsyncAction complex type.

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

 <complexType name="AsyncAction">
   <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="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="AsyncActionName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="UserAssociationRoleEnterpriseName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="UserAssociationRoleOrganizationName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="UserAssociationRoleSiteName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="UserAssociationRoleName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="UserAssociationUserValueChainId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="UserAssociationUserEnterpriseName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="UserAssociationUserName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="UserAssociationRoleValueChainId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="StartedDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="FinishedDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="CancelledDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="CustomModelName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ActionModelLevel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="RequestPayload" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ResponsePayload" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="GridTaskId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="ErrorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="CancelInitiated" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="OwnerId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="OwnerModelLevel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="OwnerDisplay" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="BatchId" type="{http://www.onenetwork.com/Platform}NullableInteger" minOccurs="0"/>
         <element name="CustomAsyncActionHandler" 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 Details

  • 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()
    • setId

      public void setId​(long value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is Long
    • isSetId

      public boolean isSetId()
    • getAsyncActionName

      public java.lang.String getAsyncActionName()
      Gets the value of the asyncActionName property.
      Returns:
      possible object is String
    • setAsyncActionName

      public void setAsyncActionName​(java.lang.String value)
      Sets the value of the asyncActionName property.
      Parameters:
      value - allowed object is String
    • isSetAsyncActionName

      public boolean isSetAsyncActionName()
    • getUserAssociationRoleEnterpriseName

      public java.lang.String getUserAssociationRoleEnterpriseName()
      Gets the value of the userAssociationRoleEnterpriseName property.
      Returns:
      possible object is String
    • isSetUserAssociationRoleEnterpriseName

      public boolean isSetUserAssociationRoleEnterpriseName()
    • getUserAssociationRoleOrganizationName

      public java.lang.String getUserAssociationRoleOrganizationName()
      Gets the value of the userAssociationRoleOrganizationName property.
      Returns:
      possible object is String
    • isSetUserAssociationRoleOrganizationName

      public boolean isSetUserAssociationRoleOrganizationName()
    • getUserAssociationRoleSiteName

      public java.lang.String getUserAssociationRoleSiteName()
      Gets the value of the userAssociationRoleSiteName property.
      Returns:
      possible object is String
    • isSetUserAssociationRoleSiteName

      public boolean isSetUserAssociationRoleSiteName()
    • getUserAssociationRoleName

      public java.lang.String getUserAssociationRoleName()
      Gets the value of the userAssociationRoleName property.
      Returns:
      possible object is String
    • isSetUserAssociationRoleName

      public boolean isSetUserAssociationRoleName()
    • isSetUserAssociationUserValueChainId

      public boolean isSetUserAssociationUserValueChainId()
    • getUserAssociationUserEnterpriseName

      public java.lang.String getUserAssociationUserEnterpriseName()
      Gets the value of the userAssociationUserEnterpriseName property.
      Returns:
      possible object is String
    • isSetUserAssociationUserEnterpriseName

      public boolean isSetUserAssociationUserEnterpriseName()
    • getUserAssociationUserName

      public java.lang.String getUserAssociationUserName()
      Gets the value of the userAssociationUserName property.
      Returns:
      possible object is String
    • isSetUserAssociationUserName

      public boolean isSetUserAssociationUserName()
    • isSetUserAssociationRoleValueChainId

      public boolean isSetUserAssociationRoleValueChainId()
    • getState

      public java.lang.String getState()
      Gets the value of the state property.
      Returns:
      possible object is String
    • setState

      public void setState​(java.lang.String value)
      Sets the value of the state property.
      Parameters:
      value - allowed object is String
    • isSetState

      public boolean isSetState()
    • getStartedDate

      public java.util.Calendar getStartedDate()
      Gets the value of the startedDate property.
      Returns:
      possible object is String
    • setStartedDate

      public void setStartedDate​(java.util.Calendar value)
      Sets the value of the startedDate property.
      Parameters:
      value - allowed object is String
    • isSetStartedDate

      public boolean isSetStartedDate()
    • getFinishedDate

      public java.util.Calendar getFinishedDate()
      Gets the value of the finishedDate property.
      Returns:
      possible object is String
    • setFinishedDate

      public void setFinishedDate​(java.util.Calendar value)
      Sets the value of the finishedDate property.
      Parameters:
      value - allowed object is String
    • isSetFinishedDate

      public boolean isSetFinishedDate()
    • getCancelledDate

      public java.util.Calendar getCancelledDate()
      Gets the value of the cancelledDate property.
      Returns:
      possible object is String
    • setCancelledDate

      public void setCancelledDate​(java.util.Calendar value)
      Sets the value of the cancelledDate property.
      Parameters:
      value - allowed object is String
    • isSetCancelledDate

      public boolean isSetCancelledDate()
    • getCustomModelName

      public java.lang.String getCustomModelName()
      Gets the value of the customModelName property.
      Returns:
      possible object is String
    • setCustomModelName

      public void setCustomModelName​(java.lang.String value)
      Sets the value of the customModelName property.
      Parameters:
      value - allowed object is String
    • isSetCustomModelName

      public boolean isSetCustomModelName()
    • getActionModelLevel

      public java.lang.String getActionModelLevel()
      Gets the value of the actionModelLevel property.
      Returns:
      possible object is String
    • setActionModelLevel

      public void setActionModelLevel​(java.lang.String value)
      Sets the value of the actionModelLevel property.
      Parameters:
      value - allowed object is String
    • isSetActionModelLevel

      public boolean isSetActionModelLevel()
    • getRequestPayload

      public java.lang.String getRequestPayload()
      Gets the value of the requestPayload property.
      Returns:
      possible object is String
    • setRequestPayload

      public void setRequestPayload​(java.lang.String value)
      Sets the value of the requestPayload property.
      Parameters:
      value - allowed object is String
    • isSetRequestPayload

      public boolean isSetRequestPayload()
    • getResponsePayload

      public java.lang.String getResponsePayload()
      Gets the value of the responsePayload property.
      Returns:
      possible object is String
    • setResponsePayload

      public void setResponsePayload​(java.lang.String value)
      Sets the value of the responsePayload property.
      Parameters:
      value - allowed object is String
    • isSetResponsePayload

      public boolean isSetResponsePayload()
    • setGridTaskId

      public void setGridTaskId​(long value)
      Sets the value of the gridTaskId property.
      Parameters:
      value - allowed object is Long
    • isSetGridTaskId

      public boolean isSetGridTaskId()
    • getErrorMessage

      public java.lang.String getErrorMessage()
      Gets the value of the errorMessage property.
      Returns:
      possible object is String
    • setErrorMessage

      public void setErrorMessage​(java.lang.String value)
      Sets the value of the errorMessage property.
      Parameters:
      value - allowed object is String
    • isSetErrorMessage

      public boolean isSetErrorMessage()
    • setCancelInitiated

      @ModulePrivate public void setCancelInitiated​(boolean value)
      Sets the value of the cancelInitiated property.
      Parameters:
      value - allowed object is Boolean
    • isSetCancelInitiated

      @ModulePrivate public boolean isSetCancelInitiated()
    • setOwnerId

      public void setOwnerId​(long value)
      Sets the value of the ownerId property.
      Parameters:
      value - allowed object is Long
    • isSetOwnerId

      public boolean isSetOwnerId()
    • getOwnerModelLevel

      public java.lang.String getOwnerModelLevel()
      Gets the value of the ownerModelLevel property.
      Returns:
      possible object is String
    • setOwnerModelLevel

      public void setOwnerModelLevel​(java.lang.String value)
      Sets the value of the ownerModelLevel property.
      Parameters:
      value - allowed object is String
    • isSetOwnerModelLevel

      public boolean isSetOwnerModelLevel()
    • getOwnerDisplay

      public java.lang.String getOwnerDisplay()
      Gets the value of the ownerDisplay property.
      Returns:
      possible object is String
    • setOwnerDisplay

      public void setOwnerDisplay​(java.lang.String value)
      Sets the value of the ownerDisplay property.
      Parameters:
      value - allowed object is String
    • isSetOwnerDisplay

      public boolean isSetOwnerDisplay()
    • setBatchId

      public void setBatchId​(int value)
      Sets the value of the batchId property.
      Parameters:
      value - allowed object is String
    • isSetBatchId

      public boolean isSetBatchId()
    • getCustomAsyncActionHandler

      public java.lang.String getCustomAsyncActionHandler()
      Gets the value of the customAsyncActionHandler property.
      Returns:
      possible object is String
    • setCustomAsyncActionHandler

      public void setCustomAsyncActionHandler​(java.lang.String value)
      Sets the value of the customAsyncActionHandler property.
      Parameters:
      value - allowed object is String
    • isSetCustomAsyncActionHandler

      public boolean isSetCustomAsyncActionHandler()
    • 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()
    • setUserAssociationRoleEnterpriseName

      public void setUserAssociationRoleEnterpriseName​(java.lang.String value)
      Sets the value of UserAssociationRoleEnterpriseName, and also nullifies the following surrogate ids: SysUserAssociationId. 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 UserAssociationRoleEnterpriseName - the following will also be nullified: SysUserAssociationId
    • setUserAssociationRoleOrganizationName

      public void setUserAssociationRoleOrganizationName​(java.lang.String value)
      Sets the value of UserAssociationRoleOrganizationName, and also nullifies the following surrogate ids: SysUserAssociationId. 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 UserAssociationRoleOrganizationName - the following will also be nullified: SysUserAssociationId
    • setUserAssociationRoleSiteName

      public void setUserAssociationRoleSiteName​(java.lang.String value)
      Sets the value of UserAssociationRoleSiteName, and also nullifies the following surrogate ids: SysUserAssociationId. 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 UserAssociationRoleSiteName - the following will also be nullified: SysUserAssociationId
    • setUserAssociationRoleName

      public void setUserAssociationRoleName​(java.lang.String value)
      Sets the value of UserAssociationRoleName, and also nullifies the following surrogate ids: SysUserAssociationId. 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 UserAssociationRoleName - the following will also be nullified: SysUserAssociationId
    • setUserAssociationUserValueChainId

      public void setUserAssociationUserValueChainId​(long value)
      Sets the value of UserAssociationUserValueChainId, and also nullifies the following surrogate ids: SysUserAssociationId. 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 UserAssociationUserValueChainId - the following will also be nullified: SysUserAssociationId
    • setUserAssociationUserEnterpriseName

      public void setUserAssociationUserEnterpriseName​(java.lang.String value)
      Sets the value of UserAssociationUserEnterpriseName, and also nullifies the following surrogate ids: SysUserAssociationId. 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 UserAssociationUserEnterpriseName - the following will also be nullified: SysUserAssociationId
    • setUserAssociationUserName

      public void setUserAssociationUserName​(java.lang.String value)
      Sets the value of UserAssociationUserName, and also nullifies the following surrogate ids: SysUserAssociationId. 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 UserAssociationUserName - the following will also be nullified: SysUserAssociationId
    • setUserAssociationRoleValueChainId

      public void setUserAssociationRoleValueChainId​(long value)
      Sets the value of UserAssociationRoleValueChainId, and also nullifies the following surrogate ids: SysUserAssociationId. 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 UserAssociationRoleValueChainId - the following will also be nullified: SysUserAssociationId
    • getId

      public long getId()
    • unsetId

      public void unsetId()
    • getUserAssociationUserValueChainId

      public long getUserAssociationUserValueChainId()
    • unsetUserAssociationUserValueChainId

      public void unsetUserAssociationUserValueChainId()
    • getUserAssociationRoleValueChainId

      public long getUserAssociationRoleValueChainId()
    • unsetUserAssociationRoleValueChainId

      public void unsetUserAssociationRoleValueChainId()
    • getGridTaskId

      public long getGridTaskId()
    • unsetGridTaskId

      public void unsetGridTaskId()
    • isCancelInitiated

      public boolean isCancelInitiated()
    • unsetCancelInitiated

      public void unsetCancelInitiated()
    • getOwnerId

      public long getOwnerId()
    • unsetOwnerId

      public void unsetOwnerId()
    • getBatchId

      public int getBatchId()
    • unsetBatchId

      public void unsetBatchId()
    • 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
    • getSysUserAssociationId

      public java.lang.Long getSysUserAssociationId()
      Returns the surrogate id value for SysUserAssociationId. After reading a model, this will always match with the corresponding natural keys, which are: userAssociationRoleEnterpriseName, userAssociationRoleOrganizationName, userAssociationRoleSiteName, userAssociationRoleName, userAssociationUserValueChainId, userAssociationUserEnterpriseName, userAssociationUserName, userAssociationRoleValueChainId
    • setSysUserAssociationId

      public void setSysUserAssociationId​(java.lang.Long value, boolean nullifyNaturalKeys)
      Sets the surrogate id value for SysUserAssociationId. 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: userAssociationRoleEnterpriseName, userAssociationRoleOrganizationName, userAssociationRoleSiteName, userAssociationRoleName, userAssociationUserValueChainId, userAssociationUserEnterpriseName, userAssociationUserName, userAssociationRoleValueChainId. 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 SysUserAssociationId
      nullifyNaturalKeys - true to nullify the related natural keys (userAssociationRoleEnterpriseName, userAssociationRoleOrganizationName, userAssociationRoleSiteName, userAssociationRoleName, userAssociationUserValueChainId, userAssociationUserEnterpriseName, userAssociationUserName, userAssociationRoleValueChainId), 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