|
SAP CC 3.0 IEC API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.iec.hci.ActionModelImpl
com.highdeal.iec.hci.JavaActionModel
public class JavaActionModel
This class represents an Java Action that can perform a Java class.
The class must to extend the com.highdeal.iec.action.JavaTask.
During the execution, two methods are invoked:
Properties props)"String actionUid)" is invokedString actionUid, String[] arguments)" is invokedString actionUid)" is invokedtrue,
| Field Summary | |
|---|---|
static java.lang.String |
CLASSNAME
|
static java.lang.String |
CONTEXT_PROPERTY
|
static java.lang.String |
NAME
|
static java.lang.String |
PROPERTY
|
static java.lang.String |
TYPE
|
static java.lang.String |
VALUE
|
| Fields inherited from class com.highdeal.iec.hci.ActionModelImpl |
|---|
ACTION_XMLTAG, children, DESCRIPTION_XMLATTR, EMPTYCHILD_XMLTAG, TYPE_XMLATTR, UID_XMLATTR |
| Fields inherited from interface com.highdeal.iec.hci.ContextualModel |
|---|
SAVE, USAGE |
| Constructor Summary | |
|---|---|
JavaActionModel()
Creation of an instance of this model. |
|
| Method Summary | |
|---|---|
void |
addChild(java.lang.String tagName,
com.highdeal.hci.XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.lang.String |
getClassName()
Get the class name of the java task to perform. |
java.util.Properties |
getProperties()
Get the properties to initialize the java task. |
boolean |
isValid(int level)
|
void |
setAttributes(com.highdeal.hci.XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setClassName(java.lang.String className)
Set the class name of the java task to perform. |
void |
setNodeContext(java.util.Vector props,
java.util.Vector renamedProps,
java.util.Vector lastPropertyNames,
java.util.Vector deletedProps)
|
void |
setProperties(java.util.Properties props)
Set the properties to initialize the java task. |
void |
xmlDescription(com.highdeal.hci.XMLOutputter output)
|
| Methods inherited from class com.highdeal.iec.hci.ActionModelImpl |
|---|
addCharacterData, addChild, addContextProperty, contextPropertyRemoved, contextPropertyRenamed, countChildren, getChildAt, getChildren, getContext, getDescription, getMaxChildCount, getName, getNodeContext, getParent, insertChildAt, isNull, marshal, removeChildAt, removeContextProperty, renameContextProperty, setChildAt, setDescription, setMaxChildCount, setName, setParent, toString, toXML, updateContext, updateContext, xmlTag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY
public static final java.lang.String CONTEXT_PROPERTY
public static final java.lang.String TYPE
public static final java.lang.String NAME
public static final java.lang.String VALUE
public static final java.lang.String CLASSNAME
| Constructor Detail |
|---|
public JavaActionModel()
| Method Detail |
|---|
public void setClassName(java.lang.String className)
className - the class name of the java task to perform.public java.lang.String getClassName()
public void setProperties(java.util.Properties props)
props - the properties to initialize the java task.public java.util.Properties getProperties()
public void setNodeContext(java.util.Vector props,
java.util.Vector renamedProps,
java.util.Vector lastPropertyNames,
java.util.Vector deletedProps)
public boolean isValid(int level)
isValid in interface com.highdeal.iec.hci.ContextualModelisValid in class com.highdeal.iec.hci.ActionModelImpllevel - ContextualModel.SAVE or ContextualModel.USAGE level.
public void setAttributes(com.highdeal.hci.XMLAttributes atts)
com.highdeal.hci.XMLMarshallable
setAttributes in interface com.highdeal.hci.XMLMarshallablesetAttributes in class com.highdeal.iec.hci.ActionModelImplatts - the XML attributes of the current element.
public void addChild(java.lang.String tagName,
com.highdeal.hci.XMLMarshallable child)
com.highdeal.hci.XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface com.highdeal.hci.XMLMarshallableaddChild in class com.highdeal.iec.hci.ActionModelImpltagName - the name of tag for the child.child - the child to be added.public void xmlDescription(com.highdeal.hci.XMLOutputter output)
xmlDescription in class com.highdeal.iec.hci.ActionModelImpl
|
SAP CC 3.0 IEC API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||