com.ibm.wbiserver.brules.mgmt.problem
Class ProblemDuplicatePropertyName
- java.lang.Object
com.ibm.wbiserver.brules.mgmt.problem.Problem
com.ibm.wbiserver.brules.mgmt.problem.ProblemDuplicatePropertyName
All implemented interfaces:
java.io.Serializable
- public class ProblemDuplicatePropertyName
- extends Problem
- implements java.io.Serializable
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Constructor Summary
Constructor and Description |
---|
ProblemDuplicatePropertyName(Property newProperty,java.lang.Object entityContainingDuplicateProperty)
Constructor for the ProblemDuplicatePropertyName class.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getEntityContainingDuplicateProperty()
Get the entity that contains the duplicate property.
|
|
getErrorMessage()
|
getNewProperty()
Get the new property containing the duplicate name.
|
Methods inherited from class com.ibm.wbiserver.brules.mgmt.problem.Problem |
---|
getErrorType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
Constructor Detail
ProblemDuplicatePropertyName
- public ProblemDuplicatePropertyName( Property newProperty,
- java.lang.Object entityContainingDuplicateProperty)
Constructor for the ProblemDuplicatePropertyName class.
Parameters:
newProperty
- The new property that has the duplicate name. entityContainingDuplicateProperty
- The entity containing the property. Method Detail
getNewProperty
- public Property getNewProperty( )
Get the new property containing the duplicate name.
Returns:
The new property containing the duplicate name.
getEntityContainingDuplicateProperty
- public java.lang.Object getEntityContainingDuplicateProperty( )
Get the entity that contains the duplicate property. This object represents the entity on
which the new property was being defined. It could be any object that can have properties.
Some examples of types of entities that can contain properties are
BusinessRuleGroup
and BusinessRule
.
Returns:
The entity that contains the duplicate property.
getErrorMessage
- public java.lang.String getErrorMessage( )
Specified by:
getErrorMessage
in class Problem