public class ProblemDuplicatePropertyName extends Problem implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
ProblemDuplicatePropertyName(Property newProperty,
java.lang.Object entityContainingDuplicateProperty)
Constructor for the ProblemDuplicatePropertyName class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getEntityContainingDuplicateProperty()
Get the entity that contains the duplicate property.
|
java.lang.String |
getErrorMessage() |
Property |
getNewProperty()
Get the new property containing the duplicate name.
|
getErrorType
public static final java.lang.String COPYRIGHT
public ProblemDuplicatePropertyName(Property newProperty, java.lang.Object entityContainingDuplicateProperty)
newProperty
- The new property that has the duplicate name.entityContainingDuplicateProperty
- The entity containing the property.public Property getNewProperty()
public java.lang.Object getEntityContainingDuplicateProperty()
BusinessRuleGroup
and BusinessRule
.public java.lang.String getErrorMessage()
getErrorMessage
in class Problem