Class MandatoryParameterValueNotSetException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.adept2.model.datamanagement.ValidationFailedException
de.aristaflow.adept2.model.datamanagement.MandatoryParameterValueNotSetException
All Implemented Interfaces:
Serializable

public class MandatoryParameterValueNotSetException extends ValidationFailedException
A MandatoryParameterValueNotSetException indicates that a mandatory output parameter has not been provided a value. This is checked when ProcessAwareAccess.validateWrittenValues(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.model.processmodel.Instance, int, int, String).
Author:
Ulrich Kreher
See Also:
  • Field Details

    • instanceID

      protected final UUID instanceID
      The ID of the instance for which a mandatory output parameter has no value.
    • nodeID

      protected final int nodeID
      The ID of the node of which a mandatory output parameter has not value.
    • nodeIteration

      protected final int nodeIteration
      The iteration of the node of which a mandatory output parameter has no value.
    • dataElementID

      protected final int dataElementID
      The ID of the data element which is connected to the mandatory output parameter and which is not provided a value.
    • parameterName

      protected final String parameterName
      The name of the mandatory output parameter which is not provided a value.
    • identifierID

      protected final UUID identifierID
      The identifier of the mandatory output parameter which is not provided a value.
    • dataType

      protected final ProcessConstants.AdeptDataType dataType
      The data type of the mandatory output parameter which is not provided a value.
    • accessType

      protected final ActivityConstants.AccessType accessType
      The access type of the mandatory output parameter which is not provided a value, that is either a normal output parameter or a system output parameter.
  • Constructor Details

    • MandatoryParameterValueNotSetException

      public MandatoryParameterValueNotSetException(UUID instanceID, int nodeID, int nodeIteration, int dataElementID, String parameterName, UUID identifierID, ProcessConstants.AdeptDataType dataType, ActivityConstants.AccessType accessType)
      Creates a MandatoryParameterValueNotSetException for the designated instance, node, iteration, data element and parameter data.
      Parameters:
      instanceID - The ID of the instance for which a mandatory output parameter has no value.
      nodeID - The ID of the node of which a mandatory output parameter has not value.
      nodeIteration - The iteration of the node of which a mandatory output parameter has not value.
      dataElementID - The ID of the data element which is connected to the mandatory output parameter and which is not provided a value.
      parameterName - The name of the mandatory output parameter which is not provided a value.
      identifierID - The identifier of the mandatory output parameter which is not provided a value.
      dataType - The data type of the mandatory output parameter which is not provided a value.
      accessType - The access type of the mandatory output parameter which is not provided a value, that is either a normal output parameter or a system output parameter.
  • Method Details

    • getInstanceID

      public UUID getInstanceID()
      Gets the ID of the instance for which a mandatory output parameter has no value.
      Returns:
      The ID of the instance for which a mandatory output parameter has no value.
    • getNodeID

      public int getNodeID()
      Gets the ID of the node of which a mandatory output parameter has not value.
      Returns:
      The ID of the node of which a mandatory output parameter has not value.
    • getNodeIteration

      public int getNodeIteration()
      Gets the iteration of the node of which a mandatory output parameter has no value.
      Returns:
      The iteration of the node of which a mandatory output parameter has no value.
    • getDataElementID

      public int getDataElementID()
      Gets the ID of the data element which is connected to the mandatory output parameter and which is not provided a value. the ID of the instance for which a mandatory output parameter has no value.
      Returns:
      The ID of the data element which is connected to the mandatory output parameter and which is not provided a value.
    • getParameterName

      public String getParameterName()
      Gets the name of the mandatory output parameter which is not provided a value.
      Returns:
      The name of the mandatory output parameter which is not provided a value.
    • getIdentifierID

      public UUID getIdentifierID()
      Gets the identifier of the mandatory output parameter which is not provided a value.
      Returns:
      The identifier of the mandatory output parameter which is not provided a value.
    • getDataType

      public ProcessConstants.AdeptDataType getDataType()
      Gets the data type of the mandatory output parameter which is not provided a value.
      Returns:
      The data type of the mandatory output parameter which is not provided a value.
    • getAccessType

      public ActivityConstants.AccessType getAccessType()
      Gets the access type of the mandatory output parameter which is not provided a value.
      Returns:
      The access type of the mandatory output parameter which is not provided a value.