Attribute is the super abstract class that is extended by both the InputAttribute and OutputAttribute.
public class Attribute
All public members of the Attribute class, including all inherited members.
Name | Description |
---|---|
Default value (if provided) | |
Detailed description of the attribute. | |
Attribute Id. | |
The text that was entered in the input field on the state editor. | |
Sets the processing engine context. | |
Detailed description of the attribute. | |
Attribute Id. |
All protected members of the Attribute class, including all inherited members.
Name | Description |
---|---|
Sets the processing engine context. | |
Description that will be displayed on the state editor for user consumption. | |
Unique Id of the attribute. |
This class encapsulates the basic fields of an attribute, and provide the get/set methods. Attribute(s) are used in the state implementation to represent input and output attributes.
In addition, Attribute holds the state processing context that is used, for example, to access or store the attribute value as a session variable in the datasource so that it is durable across session. The state processing context is assigned to the attribute by the processing engine during initialization of the state using the setContext(SmappStateProcessingContext) method. Hence, this method is reserved to be used only by the processing engine.
NOTE: Attributes that are used in the same states must have unique ids.
Attribute constructor
getContext method
getDescription method
getId method
getText method
setContext method
setDescription method
setId method
description variable
id variable
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, Sybase, Inc. - Brand Mobiliser API 1.3.0 - October 24, 2012 |