type

Specifies the type of the agent property.

Type

public int type;
 

Notes

The type member variable contains an integer value that represents the data type of the agent property. Table 67 lists the property-type constants to use to represent valid property types. A string representation of the type member variable's value displays in the Type column in the Configure Agent step of Business Object Wizard. To initialize an agent property's data type, specify a property-type constant as the second argument in the AgentProperty() constructor:

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

Copyright IBM Corp. 1997, 2003