UmlSequenceDiagramActor.class.php

Go to the documentation of this file.
00001 <?php
00011 class UmlSequenceDiagramActor
00012 {
00013 
00019     protected $objUmlSequenceDiagram;
00020 
00026     protected $strId;
00027 
00033     protected $intPosition;
00034 
00040     protected $objStereotype = null;
00041 
00047     protected $strName;
00048 
00054     protected $strClassName;
00055 
00059     public function __construct()
00060     {
00061         $this->setType( "system" );
00062     }
00063 
00073     public function setUmlSequenceDiagram( UmlSequenceDiagram $objUmlSequenceDiagram )
00074     {
00075         $this->objUmlSequenceDiagram = $objUmlSequenceDiagram;
00076         return $this;
00077     }
00078 
00087      public function getUmlSequenceDiagram()
00088     {
00089         return $this->objUmlSequenceDiagram;
00090     }
00091 
00099     public function getId()
00100     {
00101         return $this->strId;
00102     }
00103 
00111     public function setId( $strId )
00112     {
00113         $this->strId = $strId;
00114         return $this;
00115     }
00116 
00124     public function getPosition()
00125     {
00126         return $this->intPosition;
00127     }
00128 
00136     public function setPosition( $intPosition )
00137     {
00138         $this->intPosition = $intPosition;
00139         return $this;
00140     }
00141 
00149     public function getType()
00150     {
00151         return $this->objType->getName();
00152     }
00153 
00162     public function setType( $strType )
00163     {
00164         $this->objType = UmlSequenceDiagramStereotype::getStereotypeByName( $strType );
00165     }
00166 
00172     public function setStereotype( UmlSequenceDiagramStereotype $objStereotype )
00173     {
00174         return $this->objType = $objStereotype;
00175     }
00176 
00182     public function getStereotype()
00183     {
00184         return $this->objType;
00185     }
00186 
00194     public function getName()
00195     {
00196         return $this->strName;
00197     }
00198 
00206     public function setName( $strName )
00207     {
00208         $this->strName = $strName;
00209     }
00210 
00218     public function getClassName() {
00219         return $this->strClassName;
00220     }
00221 
00229     public function setClassName($strClassName) {
00230         $this->strClassName = $strClassName;
00231     }
00232 }
00233 ?>

Generated on Sat Apr 7 14:19:10 2012 for CodeToDiagram by  doxygen 1.5.9