Public Member Functions | |
| restart () | |
| setMessages (array $arrMessages) | |
| getMessages () | |
| addMessage (UmlSequenceDiagramMessage $objMessage) | |
| setActors (array $arrActors) | |
| getActors () | |
| addActor (UmlSequenceDiagramActor $objActor) | |
| setOutput ($strOutput) | |
| getOutput () | |
Protected Attributes | |
| $arrActors = Array() | |
| $arrMessages = Array() | |
| $strOutput = "" | |
Definition at line 13 of file UmlSequenceDiagram.class.php.
| addActor | ( | UmlSequenceDiagramActor $ | objActor | ) |
Add a actor into the Uml Sequence Diagram Object
| UmlSequenceDiagramActor | $objActor |
Definition at line 136 of file UmlSequenceDiagram.class.php.
References UmlSequenceDiagramActor::getId(), UmlSequenceDiagramActor::setPosition(), and UmlSequenceDiagramActor::setUmlSequenceDiagram().
Referenced by setActors().
00137 { 00138 $this->arrActors[ $objActor->getId() ] = $objActor; 00139 $objActor->setPosition( sizeof( $this->arrActors ) ); 00140 $objActor->setUmlSequenceDiagram( $this ); 00141 return $this; 00142 }
| addMessage | ( | UmlSequenceDiagramMessage $ | objMessage | ) |
Add a message into the Uml Sequence Diagram Object
| UmlSequenceDiagramMessage | $objMessage |
Definition at line 89 of file UmlSequenceDiagram.class.php.
References UmlSequenceDiagramMessage::setPosition(), and UmlSequenceDiagramMessage::setUmlSequenceDiagram().
Referenced by setMessages().
00090 { 00091 $this->arrMessages[] = $objMessage; 00092 $objMessage->setPosition( sizeof( $this->arrMessages ) ); 00093 $objMessage->setUmlSequenceDiagram( $this ); 00094 return $this; 00095 }
| getActors | ( | ) |
Get the array of Uml Sequence Diagram Object
UmlSequenceDiagram->arrActors
UmlSequenceDiagram::addActor( UmlSequenceDiagramActor )
Definition at line 123 of file UmlSequenceDiagram.class.php.
| getMessages | ( | ) |
Get the array of Uml Sequence Diagram Messages
UmlSequenceDiagram->arrMessages
UmlSequenceDiagram::addMessage( UmlSequenceDiagramMessage )
Definition at line 76 of file UmlSequenceDiagram.class.php.
| getOutput | ( | ) |
get the output of the execution
UmlSequenceDiagram::setOutput( string )
Definition at line 165 of file UmlSequenceDiagram.class.php.
| restart | ( | ) |
Restart Uml Sequence Object. Clean all the old actors and messages
Definition at line 42 of file UmlSequenceDiagram.class.php.
00043 { 00044 $this->strOutput = ""; 00045 $this->arrActors = array(); 00046 $this->arrMessages = array(); 00047 return $this; 00048 }
| setActors | ( | array $ | arrActors | ) |
Set the array of Uml Sequence Diagram Object
UmlSequenceDiagram->arrActors
UmlSequenceDiagram::addActor( UmlSequenceDiagramMessage )
| array | $arrActors |
Definition at line 106 of file UmlSequenceDiagram.class.php.
References addActor().
00107 { 00108 foreach( $arrActors as $objActor ) 00109 { 00110 $this->addActor( $objActor ); 00111 } 00112 return $this; 00113 }
| setMessages | ( | array $ | arrMessages | ) |
Set the array of Uml Sequence Diagram Messages
UmlSequenceDiagram->arrMessages
UmlSequenceDiagram::addMessage( UmlSequenceDiagramMessage )
| array | $arrMessages |
Definition at line 59 of file UmlSequenceDiagram.class.php.
References addMessage().
00060 { 00061 foreach( $arrMessages as $objMessage ) 00062 { 00063 $this->addMessage( $objMessage ); 00064 } 00065 return $this; 00066 }
| setOutput | ( | $ | strOutput | ) |
set the output of the execution
| string | $strOutput |
Definition at line 152 of file UmlSequenceDiagram.class.php.
References $strOutput.
00153 { 00154 $this->strOutput = $strOutput; 00155 return $this; 00156 }
$arrActors = Array() [protected] |
Array of Uml Sequence Diagram Actors of the Uml Sequence Diagram object
Definition at line 20 of file UmlSequenceDiagram.class.php.
$arrMessages = Array() [protected] |
Array of Uml Sequence Diagram Messages of the Uml Sequence Diagram object
Definition at line 27 of file UmlSequenceDiagram.class.php.
$strOutput = "" [protected] |
Execution output
string
Definition at line 34 of file UmlSequenceDiagram.class.php.
Referenced by setOutput().
1.5.9