com.ibm.wbiserver.brules.mgmt.problem

Class ProblemDuplicatePropertyName

  • All Implemented Interfaces:
    java.io.Serializable


    public class ProblemDuplicatePropertyName
    extends Problem
    implements java.io.Serializable
    Problem class representing the error that a new property is being defined with the same name as an existing property on the specified entity.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT 
    • Constructor Summary

      Constructors 
      Constructor and Description
      ProblemDuplicatePropertyName(Property newProperty, java.lang.Object entityContainingDuplicateProperty)
      Constructor for the ProblemDuplicatePropertyName class.
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
IBM Business Process ManagerTM
Release 8