Definition at line 13 of file UmlSequenceDiagramMessage.class.php.
| addNoteAfter | ( | UmlSequenceDiagramNote $ | objNote | ) |
Add a note after the message
| UmlSequenceDiagramNote | $objNote |
Definition at line 385 of file UmlSequenceDiagramMessage.class.php.
Referenced by setNotesAfter().
| addNoteBefore | ( | UmlSequenceDiagramNote $ | objNote | ) |
Add a note before the message
| UmlSequenceDiagramNote | $objNote |
Definition at line 347 of file UmlSequenceDiagramMessage.class.php.
Referenced by setNotesBefore().
| addValue | ( | UmlSequenceDiagramValue $ | objValue | ) |
Append one UmlSequenceDiagramValue into the collection of Values of the message
UmlSequenceDiagramMessage->arrValues
| UmlSequenceDiagramValue | $objValue |
Definition at line 335 of file UmlSequenceDiagramMessage.class.php.
| getActorFrom | ( | ) |
Returns the actor who is the recipient of the message
UmlSequenceDiagramMessage->objActorFrom
Definition at line 234 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessage(), and UmlSequenceDiagramPrinterToHtml::getMessageValues().
| getActorTo | ( | ) |
Returns the actor who is the author of the message
UmlSequenceDiagramMessage->objActorTo
Definition at line 262 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessage(), UmlSequenceDiagramPrinterToHtml::getMessageText(), and UmlSequenceDiagramPrinterToHtml::getMessageValues().
| getMethod | ( | ) |
Get the Method of the message
UmlSequenceDiagramMessage->strMethod
Definition at line 151 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessageText().
| getNotesAfter | ( | ) |
Get the notes what should be placed after the message
Definition at line 411 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessage().
| getNotesBefore | ( | ) |
Get the notes what should be placed before the message
Definition at line 373 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessage().
| getPosition | ( | ) |
Get the position of the message
UmlSequenceDiagramMessage->intPosition
Definition at line 193 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessage(), and UmlSequenceDiagramPrinterToHtml::getMessageValues().
| getText | ( | ) |
Get the text of the message
UmlSequenceDiagramMessage->strText
Definition at line 125 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessageText(), and UmlSequenceDiagramPrinterToHtml::getMessageValues().
| getTimeDuration | ( | ) |
Return the duration in timestamp betwenn the start end end of the message
Definition at line 474 of file UmlSequenceDiagramMessage.class.php.
| getTimeEnd | ( | ) |
Get the timestamp when the message ends
UmlSequenceDiagramMessage::setTimeEnd( integer )
Definition at line 463 of file UmlSequenceDiagramMessage.class.php.
| getTimeStart | ( | ) |
Get the timestamp when the message started
UmlSequenceDiagramMessage::setTimeStart( integer )
Definition at line 437 of file UmlSequenceDiagramMessage.class.php.
| getType | ( | ) |
Get the type of the message
UmlSequenceDiagramMessage->strType
Definition at line 181 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessage(), UmlSequenceDiagramPrinterToHtml::getMessageText(), UmlSequenceDiagramPrinterToHtml::getMessageValues(), and UmlSequenceDiagramPrinterToHtml::getValue().
| getUmlSequenceDiagram | ( | ) |
Returns the uml sequence diagram parent of the message
UmlSequenceDiagramMessage->objUmlSequenceDiagram
Definition at line 291 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessage().
| getValues | ( | ) |
Get the array of values of the message
UmlSequenceDiagramMessage->arrValues
Definition at line 319 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessageValues(), and UmlSequenceDiagramPrinterToHtml::getValues().
| isLarge | ( | ) |
Returns true if the distance between the actor from and the actor to be bigger then 1, false otherwise
Definition at line 498 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessage().
00499 { 00500 return ( abs( $this->objActorFrom->getPosition() - $this->objActorTo->getPosition() ) > 1 ); 00501 }
| isRecursive | ( | ) |
Returns true if the actor from it is the actor to, false otherwise
Definition at line 509 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessage().
00510 { 00511 return( $this->objActorFrom->getPosition() == $this->objActorTo->getPosition() ); 00512 }
| isReverse | ( | ) |
Returns true if the position of the actor from is bigger then the position of the actor to, false otherwise
Definition at line 486 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagramPrinterToHtml::getMessage().
00487 { 00488 return ( $this->objActorFrom->getPosition() > $this->objActorTo->getPosition() ); 00489 }
| setActorFrom | ( | UmlSequenceDiagramActor $ | objActor | ) |
Inform the actor who is the recipient of the message
UmlSequenceDiagramMessage->objActorFrom
| UmlSequenceDiagramActor | $objActor |
Definition at line 220 of file UmlSequenceDiagramMessage.class.php.
| setActorTo | ( | UmlSequenceDiagramActor $ | objActor | ) |
Inform the actor who is the author of the message
UmlSequenceDiagramMessage->objActorTo
| UmlSequenceDiagramActor | $objActor |
Definition at line 248 of file UmlSequenceDiagramMessage.class.php.
| setMethod | ( | $ | strMethod | ) |
Set the Method of the message
UmlSequenceDiagramMessage->strMethod
| string | $strMethod |
Definition at line 138 of file UmlSequenceDiagramMessage.class.php.
References $strMethod.
00139 { 00140 $this->strMethod = $strMethod; 00141 return $this; 00142 }
| setNotesAfter | ( | array $ | arrNotesAfter | ) |
Set the notes what should be placed after the message
| array | $arrNotesAfter |
Definition at line 397 of file UmlSequenceDiagramMessage.class.php.
References addNoteAfter().
00398 { 00399 foreach( $arrNotesAfter as $objNote ) 00400 { 00401 $this->addNoteAfter( $objNote ); 00402 } 00403 return $this; 00404 }
| setNotesBefore | ( | array $ | arrNotesBefore | ) |
Set the notes what should be placed before the message
| array | $arrNotesBefore |
Definition at line 359 of file UmlSequenceDiagramMessage.class.php.
References addNoteBefore().
00360 { 00361 foreach( $arrNotesBefore as $objNote ) 00362 { 00363 $this->addNoteBefore( $objNote ); 00364 } 00365 return $this; 00366 }
| setPosition | ( | $ | intPosition | ) |
Set the position of the message
UmlSequenceDiagramMessage->intPosition
Definition at line 205 of file UmlSequenceDiagramMessage.class.php.
References $intPosition.
Referenced by UmlSequenceDiagram::addMessage().
00206 { 00207 $this->intPosition = $intPosition; 00208 return $this; 00209 }
| setText | ( | $ | strText | ) |
Set the text of the message
UmlSequenceDiagramMessage->strText
| string | $strText |
Definition at line 112 of file UmlSequenceDiagramMessage.class.php.
References $strText.
00113 { 00114 $this->strText = $strText; 00115 return $this; 00116 }
| setTimeEnd | ( | $ | intTime | ) |
Set the timestamp when the message ends
UmlSequenceDiagramMessage::getTimeEnds()
| integer | $intTime |
Definition at line 450 of file UmlSequenceDiagramMessage.class.php.
| setTimeStart | ( | $ | intTime | ) |
Set the timestamp when the message started
| integer | $intTime |
Definition at line 424 of file UmlSequenceDiagramMessage.class.php.
| setType | ( | $ | strType | ) |
Set the type of the message
UmlSequenceDiagramMessage->strType
| string | $strType |
Definition at line 164 of file UmlSequenceDiagramMessage.class.php.
References $strType.
00165 { 00166 if( !in_array( $strType, Array( 'call' , 'return' ) ) ) 00167 { 00168 throw new Exception( "Invalid type of message " . $strType ); 00169 } 00170 $this->strType = $strType; 00171 return $this; 00172 }
| setUmlSequenceDiagram | ( | UmlSequenceDiagram $ | objUmlSequenceDiagram | ) |
Inform the uml sequence diagram parent of the message
UmlSequenceDiagramMessage->objUmlSequenceDiagram
| UmlSequenceDiagram | $objUmlSequenceDiagram |
Definition at line 277 of file UmlSequenceDiagramMessage.class.php.
Referenced by UmlSequenceDiagram::addMessage().
00278 { 00279 $this->objUmlSequenceDiagram = $objUmlSequenceDiagram; 00280 return $this; 00281 }
| setValues | ( | Array $ | arrValues | ) |
Set the array of values of the message
UmlSequenceDiagramMessage->arrValues
| UmlSequenceDiagramValue[] | $arrValues |
Definition at line 305 of file UmlSequenceDiagramMessage.class.php.
00306 { 00307 $this->arrValues = $arrValues; 00308 return $this; 00309 }
$arrNotesAfter = array() [protected] |
UmlSequenceDiagramNote Collection with the notes what should be after the message
Definition at line 102 of file UmlSequenceDiagramMessage.class.php.
$arrNotesBefore = array() [protected] |
UmlSequenceDiagramNote Collection with the notes what should be before the message
Definition at line 93 of file UmlSequenceDiagramMessage.class.php.
$arrValues = Array() [protected] |
Values of the message
Definition at line 55 of file UmlSequenceDiagramMessage.class.php.
$intPosition [protected] |
Unique Position of each message of the sequence diagram
integer
Definition at line 77 of file UmlSequenceDiagramMessage.class.php.
Referenced by setPosition().
$intTimeEnd [protected] |
Timestamp when the message was finished
integer
Definition at line 69 of file UmlSequenceDiagramMessage.class.php.
$intTimeStart [protected] |
Timestamp when the message was received
integer
Definition at line 62 of file UmlSequenceDiagramMessage.class.php.
$objActorFrom = null [protected] |
Actor what send the message
Definition at line 41 of file UmlSequenceDiagramMessage.class.php.
$objActorTo = null [protected] |
Actor what received the message
Definition at line 48 of file UmlSequenceDiagramMessage.class.php.
$objUmlSequenceDiagram [protected] |
Uml Sequence Diagram parent of this message
Definition at line 84 of file UmlSequenceDiagramMessage.class.php.
$strMethod = null [protected] |
Method of the message
string
Definition at line 27 of file UmlSequenceDiagramMessage.class.php.
Referenced by setMethod().
$strText = null [protected] |
Text of the message
string
Definition at line 20 of file UmlSequenceDiagramMessage.class.php.
Referenced by setText().
$strType = null [protected] |
Type of the message ( call or return )
string
Definition at line 34 of file UmlSequenceDiagramMessage.class.php.
Referenced by setType().
1.5.9