Class CockpitValidationDescriptor

java.lang.Object
de.hybris.platform.cockpit.services.validation.pojos.CockpitValidationDescriptor

public class CockpitValidationDescriptor extends Object
The Class CockpitValidationDescriptor.
  • Constructor Details

  • Method Details

    • getCockpitMessageLevel

      public int getCockpitMessageLevel()
      Gets the cockpit message level.
      Returns:
      the cockpit message level
    • getConstraint

      public AbstractConstraintModel getConstraint()
      Gets the constraint PK.
      Returns:
      the constraintPk
    • getConstraintPk

      public String getConstraintPk()
      Gets the constraint pk.
      Returns:
      the constraint pk
    • getPropertyDescriptor

      public PropertyDescriptor getPropertyDescriptor()
      Gets the property descriptor.
      Returns:
      the propertyDescriptor
    • getValidationMessage

      public String getValidationMessage()
      Gets the validation message.
      Returns:
      the validationMessage
    • isAttributeConstraint

      public boolean isAttributeConstraint()
      Checks if is attribute constraint.
      Returns:
      true, if is attribute constraint
    • isFramevorkValidation

      public boolean isFramevorkValidation()
      Checks if is framevork validation.
      Returns:
      true, if is framevork validation
    • isTypeConstraint

      public boolean isTypeConstraint()
      Checks if is type constraint.
      Returns:
      true, if is type constraint
    • setCockpitMessageLevel

      public void setCockpitMessageLevel(int cockpitMessageLevel)
      Sets the cockpit message level.
      Parameters:
      cockpitMessageLevel - the new cockpit message level
    • setConstraint

      public void setConstraint(AbstractConstraintModel constraint)
      Sets the constraint.
      Parameters:
      constraint - the new constraint
    • setPropertyDescriptor

      public void setPropertyDescriptor(PropertyDescriptor propertyDescriptor)
      Sets the property descriptor.
      Parameters:
      propertyDescriptor - the propertyDescriptor to set
    • setValidationMessage

      public void setValidationMessage(String validationMessage)
      Sets the validation message.
      Parameters:
      validationMessage - the validationMessage to set
    • toString

      public String toString()
      Overrides:
      toString in class Object