isReadOnly

Determines whether the user can specify a value in the agent property or can only view the value.

Type

public boolean isReadOnly;
 

Notes

The isReadOnly member variable is a boolean value that determines whether an agent property's value can be modified by the user when the property displays in Business Object Wizard. To indicate whether an agent property's value is required, specify a boolean value as the fifth argument in the second form of the AgentProperty() constructor:

AgentProperty agt = new AgentProperty("Username",
          AgentProperty.TYPE_STRING, true, false, true,
          "User Id for logging into the database", true,
          ODKConstant.SINGLE_CARD, null, null);
 

Copyright IBM Corp. 1997, 2003