public class CockpitValidationDescriptor
extends java.lang.Object
| Constructor and Description |
|---|
CockpitValidationDescriptor(PropertyDescriptor propertyDescriptor,
int cockpitMessageLevel,
java.lang.String validationMessage,
AbstractConstraintModel constraint) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCockpitMessageLevel()
Gets the cockpit message level.
|
AbstractConstraintModel |
getConstraint()
Gets the constraint PK.
|
java.lang.String |
getConstraintPk()
Gets the constraint pk.
|
PropertyDescriptor |
getPropertyDescriptor()
Gets the property descriptor.
|
java.lang.String |
getValidationMessage()
Gets the validation message.
|
boolean |
isAttributeConstraint()
Checks if is attribute constraint.
|
boolean |
isFramevorkValidation()
Checks if is framevork validation.
|
boolean |
isTypeConstraint()
Checks if is type constraint.
|
void |
setCockpitMessageLevel(int cockpitMessageLevel)
Sets the cockpit message level.
|
void |
setConstraint(AbstractConstraintModel constraint)
Sets the constraint.
|
void |
setPropertyDescriptor(PropertyDescriptor propertyDescriptor)
Sets the property descriptor.
|
void |
setValidationMessage(java.lang.String validationMessage)
Sets the validation message.
|
java.lang.String |
toString() |
public CockpitValidationDescriptor(PropertyDescriptor propertyDescriptor, int cockpitMessageLevel, java.lang.String validationMessage, AbstractConstraintModel constraint)
public int getCockpitMessageLevel()
public AbstractConstraintModel getConstraint()
public java.lang.String getConstraintPk()
public PropertyDescriptor getPropertyDescriptor()
public java.lang.String getValidationMessage()
public boolean isAttributeConstraint()
public boolean isFramevorkValidation()
public boolean isTypeConstraint()
public void setCockpitMessageLevel(int cockpitMessageLevel)
cockpitMessageLevel - the new cockpit message levelpublic void setConstraint(AbstractConstraintModel constraint)
constraint - the new constraintpublic void setPropertyDescriptor(PropertyDescriptor propertyDescriptor)
propertyDescriptor - the propertyDescriptor to setpublic void setValidationMessage(java.lang.String validationMessage)
validationMessage - the validationMessage to setpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 SAP SE. All Rights Reserved.