org.scribble.protocol.monitor.model
Class Node

java.lang.Object
  extended by org.scribble.protocol.monitor.model.Node
Direct Known Subclasses:
Call, Choice, Decision, MessageNode, Parallel, Scope

public class Node
extends Object

Java class for Node complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Node">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="annotation" type="{http://www.scribble.org/monitor}Annotation" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="nextIndex" type="{http://www.w3.org/2001/XMLSchema}int" default="-1" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Annotation> annotation
           
protected  Integer nextIndex
           
 
Constructor Summary
Node()
           
 
Method Summary
 List<Annotation> getAnnotation()
          Gets the value of the annotation property.
 int getNextIndex()
          Gets the value of the nextIndex property.
 void setNextIndex(Integer value)
          Sets the value of the nextIndex property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotation

protected List<Annotation> annotation

nextIndex

protected Integer nextIndex
Constructor Detail

Node

public Node()
Method Detail

getAnnotation

public List<Annotation> getAnnotation()
Gets the value of the annotation property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the annotation property.

For example, to add a new item, do as follows:

    getAnnotation().add(newItem);
 

Objects of the following type(s) are allowed in the list Annotation


getNextIndex

public int getNextIndex()
Gets the value of the nextIndex property.

Returns:
possible object is Integer

setNextIndex

public void setNextIndex(Integer value)
Sets the value of the nextIndex property.

Parameters:
value - allowed object is Integer


Copyright © 2008-Present Scribble.org. All Rights Reserved.