public class UserDefinedProperty extends FlowProperty
Each UserDefinedProperty instance represents a User Defined Flow Property on a Message Flow within a WebSphere Message Broker Each Message Flow contains a vector of FlowProperty which contains PromotedProperty (Node Promoted Properties) and UserDefinedProperty (User Defined Properties).
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ xxxxx.x 2010-08-10 dstorey v7.0.0.2 Release xxxxx.x 2011-07-06 dstorey v8.0.0.0 Release xxxxx.x 2013-07-17 dstorey v9.0.0.0 Release
FlowProperty.Type, FlowProperty.Usage
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright |
Constructor and Description |
---|
UserDefinedProperty(java.lang.String groupName,
java.lang.String name,
FlowProperty.Usage usage,
FlowProperty.Type type,
java.lang.Object defaultValue)
Creates a new User Defined Property which you can add to a message flow
|
Modifier and Type | Method and Description |
---|---|
boolean |
getHidden()
Returns the boolean hidden state of this user defined property
|
boolean |
getReadOnly()
Returns the boolean read only state of this user defined property
|
void |
setHidden(boolean value)
Sets this property to a hidden user defined property
|
void |
setReadOnly(boolean value)
Sets this property to a read only user defined property
|
getBundleName, getDefaultValue, getGroupName, getName, getPluginId, getType, getUsage, isConfigurable, isUserDefined, setBundleName, setDefaultValue, setGroupName, setName, setType, setUsage, toString
public static final java.lang.String copyright
public UserDefinedProperty(java.lang.String groupName, java.lang.String name, FlowProperty.Usage usage, FlowProperty.Type type, java.lang.Object defaultValue)
UserDefinedProperty flowUDP = new UserDefinedProperty("Group1HW", "Property1", UserDefinedProperty.Usage.MANDATORY, UserDefinedProperty.Type.STRING, "Hello World!"); mf.addFlowProperty(flowUDP);
groupName
- String ; The name of the group which this User Defined Property resides inname
- String ; The unique name of this User Defined Propertyusage
- Usage ; The FlowPropertyUserDefined.Usage of this property; Mandatory or Optionaltype
- Type ; The Type of this User Defined PropertydefaultValue
- Object ; The default value of this User Defined Propertypublic void setReadOnly(boolean value)
value
- public boolean getReadOnly()
public void setHidden(boolean value)
value
- public boolean getHidden()