com.ibm.wbiserver.brules.mgmt

Interface UserDefinedProperty

All Superinterfaces:
BusinessRuleChangeDetector, Property, java.io.Serializable

  1. public interface UserDefinedProperty
  2. extends Property
This interface represents a user-defined property. The value of a user-defined property can be changed.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
Fields inherited from interface com.ibm.wbiserver.brules.mgmt.Property
PROPERTY_NAME__DISPLAY_NAME, PROPERTY_NAME__NAME, PROPERTY_NAME__SHELL, PROPERTY_NAME__TARGET_NAME_SPACE, PROPERTY_NAME__UUID, PROPERTY_NAME__VERSION

Method Summary

Modifier and Type Method and Description
  1. void
setValue(java.lang.String newValue)
Set the value of this property to the new value.
Methods inherited from interface com.ibm.wbiserver.brules.mgmt.Property
getName, getValue
Methods inherited from interface com.ibm.wbiserver.brules.mgmt.BusinessRuleChangeDetector
hasChanges

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

Method Detail

setValue

  1. void setValue(java.lang.String newValue)
Set the value of this property to the new value. The new value cannot be null since this is defined as being equivalent to an undefined property. If you want to make a property undefined, you can either remove it from the property list that contains it using the removeProperty method on the PropertyList interface or you can use the setProperty method on the BusinessRuleGroup interface.

Other than checking for null, no validation is performed on the new value since the value is completely defined by the user.

Parameters:
newValue - The new value for this property. Must not be null.
Throws:
java.lang.IllegalArgumentException - if the specified newValue parameter is null.