org.netbeans.modules.bpel.model.ext.logging.api
Interface Trace

All Superinterfaces:
BpelContainer, BpelEntity, Component<BpelEntity>, DocumentComponent<BpelEntity>, ExtensionEntity
All Known Implementing Classes:
TraceImpl

public interface Trace
extends ExtensionEntity, BpelContainer


Field Summary
static java.lang.String LOGGING_NAMESPACE_URI
           
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.BpelEntity
BUSINESS_PROCESS_1_1_NS_URI, BUSINESS_PROCESS_DRAFT_NS_URI, BUSINESS_PROCESS_NS_URI
 
Fields inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
TEXT_CONTENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.BpelEntity
BUSINESS_PROCESS_1_1_NS_URI, BUSINESS_PROCESS_DRAFT_NS_URI, BUSINESS_PROCESS_NS_URI
 
Fields inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
TEXT_CONTENT_PROPERTY
 
Method Summary
 void addAlert(Alert alert)
          Add alarm.
 void addLog(Log log)
          Adds OnEvent.
 Alert getAlert(int i)
          Returns ith onAlarmEvent.
 Alert[] getAlerts()
          Returns array of onAlarmEvent children.
 Log getLog(int i)
          Returns ith OnEvent child .
 Log[] getLogs()
          Returns aray of onEvent children.
 void insertAlert(Alert alert, int i)
          Insert alarm to the ith place.
 void insertLog(Log log, int i)
          Insert event on the ith place.
 void removeAlert(int i)
          Removes ith onAlarmEvent.
 void removeLog(int i)
          Removes ith onMessage object.
 void setAlert(Alert alert, int i)
          Set ith onAlarmEvent to alarm object.
 void setAlerts(Alert[] alerts)
          Set new array of onAlarmEvent children.
 void setLog(Log log, int i)
          Set event to the ith place.
 void setLogs(Log[] logs)
          Set new array of OnEvent children.
 int sizeOfAlerts()
           
 int sizeOfLogs()
           
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.ExtensionEntity
canExtend, getEntityUpdater
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.BpelEntity
accept, accept, copy, cut, getBpelModel, getCookie, getElementType, getNamespaceContext, getParent, getUID, removeCookie, setCookie
 
Methods inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
findAttributePosition, findChildComponent, findPosition, getAttribute, getPeer, isInDocumentModel, referencesSameNode, setAttribute
 
Methods inherited from interface org.netbeans.modules.xml.xam.Component
canPaste, copy, getChildren, getChildren, getChildren, getModel
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.BpelContainer
indexOf, remove
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.BpelEntity
accept, accept, copy, cut, getBpelModel, getCookie, getElementType, getNamespaceContext, getParent, getUID, removeCookie, setCookie
 
Methods inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
findAttributePosition, findChildComponent, findPosition, getAttribute, getPeer, isInDocumentModel, referencesSameNode, setAttribute
 
Methods inherited from interface org.netbeans.modules.xml.xam.Component
canPaste, copy, getChildren, getChildren, getChildren, getModel
 

Field Detail

LOGGING_NAMESPACE_URI

static final java.lang.String LOGGING_NAMESPACE_URI
See Also:
Constant Field Values
Method Detail

getLogs

Log[] getLogs()
Returns aray of onEvent children.

Returns:
array of onMessage.

getLog

Log getLog(int i)
Returns ith OnEvent child .

Parameters:
i - index
Returns:
ith OnEvent object.

removeLog

void removeLog(int i)
Removes ith onMessage object.

Parameters:
i - index

setLogs

void setLogs(Log[] logs)
Set new array of OnEvent children.

Parameters:
events - new array for set.

setLog

void setLog(Log log,
            int i)
Set event to the ith place.

Parameters:
event - object for set.
i - index

addLog

void addLog(Log log)
Adds OnEvent.

Parameters:
event - object for add.

insertLog

void insertLog(Log log,
               int i)
Insert event on the ith place.

Parameters:
event - object for insert.
i - index

getAlerts

Alert[] getAlerts()
Returns array of onAlarmEvent children.

Returns:
array of onAlarmEvent children.

getAlert

Alert getAlert(int i)
Returns ith onAlarmEvent.

Parameters:
i - index in array.
Returns:
ith onAlarmEvent.

removeAlert

void removeAlert(int i)
Removes ith onAlarmEvent.

Parameters:
i - index for remove.

setAlerts

void setAlerts(Alert[] alerts)
Set new array of onAlarmEvent children.

Parameters:
alarm - array for set.

setAlert

void setAlert(Alert alert,
              int i)
Set ith onAlarmEvent to alarm object.

Parameters:
alarm - object for set.
i - index.

addAlert

void addAlert(Alert alert)
Add alarm.

Parameters:
alarm - object for add.

insertAlert

void insertAlert(Alert alert,
                 int i)
Insert alarm to the ith place.

Parameters:
alarm - object for set.
i - index

sizeOfLogs

int sizeOfLogs()
Returns:
size of onMessage children.

sizeOfAlerts

int sizeOfAlerts()
Returns:
size of onAlarm children.