Public Member Functions | |
| setDefault ($booDefault) | |
| getDefault () | |
| setName ($strName) | |
| getName () | |
| setImage ($strImage) | |
| getImage () | |
Static Public Member Functions | |
| static | addStereotype (UmlSequenceDiagramStereotype $objStereotype) |
| static | getStereotypeByName ($strName) |
Protected Attributes | |
| $booDefault | |
| $strName | |
| $strImage | |
Static Protected Attributes | |
| static | $arrInstances = array() |
Definition at line 13 of file UmlSequenceDiagramStereotype.class.php.
| static addStereotype | ( | UmlSequenceDiagramStereotype $ | objStereotype | ) | [static] |
Definition at line 48 of file UmlSequenceDiagramStereotype.class.php.
References getName().
Referenced by CodeToDiagram::loadDefaultsStereotypes().
00049 { 00050 self::$arrInstances[ $objStereotype->getName() ] = $objStereotype; 00051 return $objStereotype; 00052 }
| getDefault | ( | ) |
UmlSequenceDiagramStereotype::setDefault( boolean )
Definition at line 89 of file UmlSequenceDiagramStereotype.class.php.
| getImage | ( | ) |
Get the image file name
UmlSequenceDiagramStereotype->setImage( string )
Definition at line 140 of file UmlSequenceDiagramStereotype.class.php.
| getName | ( | ) |
Get the name of the stereotype
UmlSequenceDiagramStereotype::setName( string )
Definition at line 114 of file UmlSequenceDiagramStereotype.class.php.
Referenced by addStereotype().
| static getStereotypeByName | ( | $ | strName | ) | [static] |
Get the stereotype instance by the name
| string | $strName |
Definition at line 60 of file UmlSequenceDiagramStereotype.class.php.
References $strName.
Referenced by CodeInstrumentationReceiverConfiguration::__construct(), and UmlSequenceDiagramActor::setType().
00061 { 00062 if( !isset( self::$arrInstances[ $strName ] ) ) 00063 { 00064 throw new UmlSequenceDiagramException( 'unknow uml sequence diagram stereotype ' . $strName ); 00065 } 00066 return self::$arrInstances[ $strName ]; 00067 }
| setDefault | ( | $ | booDefault | ) |
Set if the stereotype it is default
| boolean | $booDefault |
Definition at line 77 of file UmlSequenceDiagramStereotype.class.php.
References $booDefault.
00078 { 00079 $this->booDefault = $booDefault; 00080 return $this; 00081 }
| setImage | ( | $ | strImage | ) |
Set the image file name
UmlSequenceDiagramStereotype->getImage()
| string | $strImage |
Definition at line 127 of file UmlSequenceDiagramStereotype.class.php.
References $strImage.
00128 { 00129 $this->strImage = $strImage; 00130 return $this; 00131 }
| setName | ( | $ | strName | ) |
| string | $strName |
Definition at line 101 of file UmlSequenceDiagramStereotype.class.php.
References $strName.
00102 { 00103 $this->strName = $strName; 00104 return $this; 00105 }
$arrInstances = array() [static, protected] |
Array of the instances of the UmlSequenceDiagramStereotype by the name
UmlSequenceDiagramStereotype[]
Definition at line 46 of file UmlSequenceDiagramStereotype.class.php.
$booDefault [protected] |
Flag to control if the element it is a default stereotype true in this case or a personalized one false in this last case.
boolean
Definition at line 23 of file UmlSequenceDiagramStereotype.class.php.
Referenced by setDefault().
$strImage [protected] |
filename of the image of the stereotype.
string
Definition at line 38 of file UmlSequenceDiagramStereotype.class.php.
Referenced by setImage().
$strName [protected] |
name of the stereotype
string
Definition at line 30 of file UmlSequenceDiagramStereotype.class.php.
Referenced by getStereotypeByName(), and setName().
1.5.9