Class ValidationConstants.PositionValidationConstants

java.lang.Object
com.bluebell.greenhouse.platform.constants.validation.ValidationConstants.PositionValidationConstants
Enclosing class:
ValidationConstants

public static final class ValidationConstants.PositionValidationConstants extends Object
Position-related validation messages.
Version:
3.0.5
Author:
Stephen Prizio
  • Field Details

    • POSITION_CANNOT_BE_NULL

      public static final String POSITION_CANNOT_BE_NULL
      Validation message used when a Position reference is null.
      See Also:
    • POSITION_ID_CANNOT_BE_NULL

      public static final String POSITION_ID_CANNOT_BE_NULL
      Validation message used when a position id is null.
      See Also:
    • POSITION_REPOSITORY_CANNOT_BE_NULL

      public static final String POSITION_REPOSITORY_CANNOT_BE_NULL
      Validation message used when a PositionRepository reference is null.
      See Also:
    • POSITION_FILTER_CANNOT_BE_NULL

      public static final String POSITION_FILTER_CANNOT_BE_NULL
      Validation message used when a position filter is null.
      See Also:
    • POSITION_ORDER_CANNOT_BE_NULL

      public static final String POSITION_ORDER_CANNOT_BE_NULL
      Validation message used when a PositionOrder reference is null.
      See Also:
    • POSITION_TRANSACTION_CANNOT_BE_NULL

      public static final String POSITION_TRANSACTION_CANNOT_BE_NULL
      Validation message used when a PositionTransaction reference is null.
      See Also:
    • POSITION_CLOSE_DATE_CANNOT_BE_NULL

      public static final String POSITION_CLOSE_DATE_CANNOT_BE_NULL
      Validation message used when a position close date is null.
      See Also:
    • POSITION_CLOSE_DATE_CANNOT_BE_BEFORE_OPEN_DATE

      public static final String POSITION_CLOSE_DATE_CANNOT_BE_BEFORE_OPEN_DATE
      Validation message used when a position close date is before the open date.
      See Also:
    • POSITION_CREATE_DATA_CANNOT_BE_NULL

      public static final String POSITION_CREATE_DATA_CANNOT_BE_NULL
      Validation message used when position creation data is missing.
      See Also:
    • POSITION_UPDATE_DATA_CANNOT_BE_NULL

      public static final String POSITION_UPDATE_DATA_CANNOT_BE_NULL
      Validation message used when position update data is missing.
      See Also:
    • POSITION_ORDER_CREATE_DATA_CANNOT_BE_NULL

      public static final String POSITION_ORDER_CREATE_DATA_CANNOT_BE_NULL
      Validation message used when position-order creation data is missing.
      See Also:
    • POSITION_ORDER_UPDATE_DATA_CANNOT_BE_NULL

      public static final String POSITION_ORDER_UPDATE_DATA_CANNOT_BE_NULL
      Validation message used when position-order update data is missing.
      See Also:
    • CFD_CLOSING_ORDER_MANUAL_VALUE_CANNOT_BE_NULL

      public static final String CFD_CLOSING_ORDER_MANUAL_VALUE_CANNOT_BE_NULL
      Validation message used when a CFD closing order is missing a manual value.
      See Also:
    • OPTION_POSITION_REQUIRES_OPTION_TYPE

      public static final String OPTION_POSITION_REQUIRES_OPTION_TYPE
      Validation message used when an option position is missing an option type.
      See Also:
    • NON_OPTION_POSITION_CANNOT_INCLUDE_OPTION_TYPE

      public static final String NON_OPTION_POSITION_CANNOT_INCLUDE_OPTION_TYPE
      Validation message used when a non-option position includes an option type.
      See Also:
    • OPTION_POSITION_REQUIRES_STRIKE_PRICE

      public static final String OPTION_POSITION_REQUIRES_STRIKE_PRICE
      Validation message used when an option position is missing a strike price.
      See Also:
    • OPTION_POSITION_REQUIRES_EXPIRATION_DATE

      public static final String OPTION_POSITION_REQUIRES_EXPIRATION_DATE
      Validation message used when an option position is missing an expiration date.
      See Also:
    • OPTION_EXPIRATION_CANNOT_BE_BEFORE_OPEN_DATE

      public static final String OPTION_EXPIRATION_CANNOT_BE_BEFORE_OPEN_DATE
      Validation message used when an option expiration precedes the position open date.
      See Also:
    • NON_OPTION_POSITION_CANNOT_INCLUDE_OPTION_DETAILS

      public static final String NON_OPTION_POSITION_CANNOT_INCLUDE_OPTION_DETAILS
      Validation message used when a non-option position includes option contract details.
      See Also:
    • CROSS_CURRENCY_ORDER_REQUIRES_REPORTED_NET_AMOUNT

      public static final String CROSS_CURRENCY_ORDER_REQUIRES_REPORTED_NET_AMOUNT
      Validation message used when a cross-currency order is missing its reported net amount.
      See Also:
    • NON_OPTION_POSITION_CANNOT_USE_OPTION_CLOSE_REASON

      public static final String NON_OPTION_POSITION_CANNOT_USE_OPTION_CLOSE_REASON
      Validation message used when a non-option position uses an option-only close reason.
      See Also:
    • OPENING_ORDER_CANNOT_INCLUDE_CLOSE_REASON

      public static final String OPENING_ORDER_CANNOT_INCLUDE_CLOSE_REASON
      Validation message used when an order close reason is supplied for a non-closing order.
      See Also:
    • CLOSE_REASON_REQUIRES_CLOSED_POSITION

      public static final String CLOSE_REASON_REQUIRES_CLOSED_POSITION
      Validation message used when a close reason is supplied before the position is closed.
      See Also:
    • POSITION_ORDER_QUANTITY_MUST_BE_POSITIVE

      public static final String POSITION_ORDER_QUANTITY_MUST_BE_POSITIVE
      Validation message used when a position-order quantity is not positive.
      See Also:
    • POSITION_ORDER_PRICE_MUST_BE_POSITIVE

      public static final String POSITION_ORDER_PRICE_MUST_BE_POSITIVE
      Validation message used when a position-order price is not positive.
      See Also:
    • POSITION_ORDER_CLOSING_QUANTITY_EXCEEDS_OPEN_QUANTITY

      public static final String POSITION_ORDER_CLOSING_QUANTITY_EXCEEDS_OPEN_QUANTITY
      Validation message used when a closing order exceeds the remaining open quantity.
      See Also:
    • POSITION_TRANSACTION_CREATE_DATA_CANNOT_BE_NULL

      public static final String POSITION_TRANSACTION_CREATE_DATA_CANNOT_BE_NULL
      Validation message used when position-transaction creation data is missing.
      See Also:
    • POSITION_TRANSACTION_UPDATE_DATA_CANNOT_BE_NULL

      public static final String POSITION_TRANSACTION_UPDATE_DATA_CANNOT_BE_NULL
      Validation message used when position-transaction update data is missing.
      See Also:
    • CLOSED_POSITION_CANNOT_BE_MODIFIED

      public static final String CLOSED_POSITION_CANNOT_BE_MODIFIED
      Validation message used when a closed position is modified.
      See Also:
    • POSITION_CANNOT_BE_CLOSED_WITH_OPEN_QUANTITY

      public static final String POSITION_CANNOT_BE_CLOSED_WITH_OPEN_QUANTITY
      Validation message used when a position is closed while quantity remains open.
      See Also:
    • POSITION_CANNOT_HAVE_NEGATIVE_OPEN_QUANTITY

      public static final String POSITION_CANNOT_HAVE_NEGATIVE_OPEN_QUANTITY
      Validation message used when a position's closing quantity exceeds its opening quantity.
      See Also:
    • IMPORT_STREAM_CANNOT_BE_NULL

      public static final String IMPORT_STREAM_CANNOT_BE_NULL
      Validation message used when an import input stream is null.
      See Also: