Class com.symantec.itools.vcafe.beans.ActionDescriptor
All Packages Class Hierarchy This Package Previous Next Index
Class com.symantec.itools.vcafe.beans.ActionDescriptor
Object
|
+----FeatureDescriptor
|
+----com.symantec.itools.vcafe.beans.ActionDescriptor
- public class ActionDescriptor
- extends FeatureDescriptor
A simple class that encapsulates a bean's Visual Café "action" information as used
by the Interaction Wizard. A Visual Café action implies a relationship between
objects (or between an object and itself) involving either event notification or data
transmission. The Interaction Wizard allows users to graphically build these relationships
between objects and then Visual Café is able to generate the code for the specified
relationship based on the underlying action information encapsulated in the
ActionDescriptor.
- Version:
- 1.0, July 1, 1997
- Author:
- Symantec
-
INPUT
- A constant indicating an input action.
-
OUTPUT
- A constant indicating an output action.
-
com.symantec.itools.vcafe.beans.ActionDescriptor()
- Constructs a default ActionDescriptor.
-
com.symantec.itools.vcafe.beans.ActionDescriptor(String)
- Constructs a ActionDescriptor with the given form.
-
com.symantec.itools.vcafe.beans.ActionDescriptor(String, String, String, String)
- Constructs a ActionDescriptor with the given form, type, and
expr String values.
-
com.symantec.itools.vcafe.beans.ActionDescriptor(String, String, String, String, String)
- Constructs a ActionDescriptor with the given form, type, init, and
expr String values.
-
getExpr()
- Gets the current expression string.
-
getForm()
- Gets the current form string.
-
getInit()
- Gets the current init string.
-
getType()
- Gets the current type string.
-
setExpr(String)
- Specifies the code fragment that is used to create this action.
-
setForm(String)
- Sets the form string.
-
setInit(String)
- Specifies any initialization code that needs to be present prior to the code generated from
the action expression.
-
setType(String)
- Specifies the Java type of the parameter or return value of this action.
INPUT
public static final java.lang.String INPUT
- A constant indicating an input action.
- See Also:
- setForm
OUTPUT
public static final java.lang.String OUTPUT
- A constant indicating an output action.
- See Also:
- setForm
ActionDescriptor
public ActionDescriptor()
- Constructs a default ActionDescriptor. Form, type, init, and expr
are all empty strings.
- See Also:
- setForm, setType, setInit, setExpr
ActionDescriptor
public ActionDescriptor(String f)
- Constructs a ActionDescriptor with the given form.
Type, init, and expr are all empty strings.
- Parameters:
- f - the form string
- See Also:
- setType, setInit, setExpr
ActionDescriptor
public ActionDescriptor(String f,
String t,
String e,
String d)
- Constructs a ActionDescriptor with the given form, type, and
expr String values.
- Parameters:
- f - the form string
- t - the type string
- e - the expression string
- d - a short description
ActionDescriptor
public ActionDescriptor(String f,
String t,
String i,
String e,
String d)
- Note: ActionDescriptor() is deprecated.
- Constructs a ActionDescriptor with the given form, type, init, and
expr String values.
- Parameters:
- f - the form string
- t - the type string
- i - the init string
- e - the expression string
- d - a short description
getExpr
public java.lang.String getExpr()
- Gets the current expression string.
- Returns:
- the current expression
- See Also:
- setExpr
getForm
public java.lang.String getForm()
- Gets the current form string.
- Returns:
- the current form
- See Also:
- setForm
getInit
public java.lang.String getInit()
- Gets the current init string.
- Returns:
- the current init
- See Also:
- setInit
getType
public java.lang.String getType()
- Gets the current type string.
- Returns:
- the current type
- See Also:
- setType
setExpr
public void setExpr(String e)
- Specifies the code fragment that is used to create this action. The following replacement
variables are allowed in the code fragment:
%name% the name of the class/bean
%class% full classname of the class/bean
%arg% method argument used for input action data
- Returns:
- the new expression
- See Also:
- getExpr
setForm
public void setForm(String f)
- Sets the form string. The form of a action is either INPUT or OUTPUT. An output
action defines an interaction that returns data; an input action defines an
interaction that sets data, or initiates execution of a method that doesn't take data.
- Returns:
- the new form
- See Also:
- getForm
setInit
public void setInit(String i)
- Note: setInit() is deprecated.
- Specifies any initialization code that needs to be present prior to the code generated from
the action expression. This string must be blank. The feature is not supported in this release.
- Returns:
- the new init
- See Also:
- getInit, setExpr
setType
public void setType(String t)
- Specifies the Java type of the parameter or return value of this action. The most
common types are int, boolean, String, and void.
- Returns:
- the new type
- See Also:
- getType
All Packages Class Hierarchy This Package Previous Next Index