PHP_UML
[ class tree: PHP_UML ] [ index: PHP_UML ] [ all elements ]

Class: PHP_UML_Output_Xmi_BuilderImpl2

Source Location: /PHP_UML-1.6.2/UML/Output/Xmi/BuilderImpl2.php

Class Overview

PHP_UML_Output_Xmi_AbstractBuilder
   |
   --PHP_UML_Output_Xmi_BuilderImpl2

Implementation class to create XMI in version 2


Author(s):

Variables

Methods


Child classes:

PHP_UML_Output_Eclipse_BuilderImpl2
Implementation class to create XMI in version 2, adapted for importation into Eclipse

Inherited Variables

Inherited Methods

Class: PHP_UML_Output_Xmi_AbstractBuilder

PHP_UML_Output_Xmi_AbstractBuilder::getAllComponents()
Get all components, with its provided classes PHP_UML considers each logical package as a component, and each owned class as a provided class.
PHP_UML_Output_Xmi_AbstractBuilder::getAllPackages()
Get all packages, recursively, with all the objects they contain Initially called by generateXmi() on the root package
PHP_UML_Output_Xmi_AbstractBuilder::getInstance()
Factory method. Retrieves a proper implementation class, matching the XMI version.
PHP_UML_Output_Xmi_AbstractBuilder::getOwnedElements()
Get the different types owned by a package
PHP_UML_Output_Xmi_AbstractBuilder::getUID()
Generates an ID for an element. A partial identifier can be provided (used for classes and their idrefs)
PHP_UML_Output_Xmi_AbstractBuilder::getXmiDocument()
Return the full serialized XMI metamodel of a given Superstructure.
PHP_UML_Output_Xmi_AbstractBuilder::getXmlHeader()
Gets an XML header for the XMI file
PHP_UML_Output_Xmi_AbstractBuilder::setComponentView()
Enables the inclusion of a component view in the serialized model
PHP_UML_Output_Xmi_AbstractBuilder::setDeploymentView()
Enables the inclusion of a deployment view in the serialized model
PHP_UML_Output_Xmi_AbstractBuilder::setEncoding()
Sets the XML encoding
PHP_UML_Output_Xmi_AbstractBuilder::setLogicalView()
Enables the inclusion of a logical view in the serialized model
PHP_UML_Output_Xmi_AbstractBuilder::setStereotypes()
Enables the inclusion of the stereotypes in the serialized model

Class Details

[line 29]
Implementation class to create XMI in version 2

See the interface PHP_UML_Output_Xmi_Builder for the comments.



[ Top ]


Class Variables

$profile =  ''

[line 40]

PHP_UML UML Profile (TODO)
  • Access: public

Type:   string


[ Top ]



Method Detail

getArtifact   [line 254]

void getArtifact( PHP_UML_Metamodel_Artifact $file, [ &$mf = array()])

  • Access: public

Parameters:

PHP_UML_Metamodel_Artifact   $file   — 
   &$mf   — 

[ Top ]

getClass   [line 114]

void getClass( PHP_UML_Metamodel_Class $class)

  • Access: public

Parameters:

PHP_UML_Metamodel_Class   $class   — 

[ Top ]

getComment   [line 323]

void getComment( PHP_UML_Metamodel_Stereotype $s, [ $annotatedElement = ''])

  • Access: public

Parameters:

PHP_UML_Metamodel_Stereotype   $s   — 
   $annotatedElement   — 

[ Top ]

getComponentClose   [line 303]

void getComponentClose( )

  • Access: public

[ Top ]

getComponentOpen   [line 277]

void getComponentOpen( PHP_UML_Metamodel_Package $package, array $provided, array $required)

  • Access: public

Parameters:

PHP_UML_Metamodel_Package   $package   — 
array   $provided   — 
array   $required   — 

[ Top ]

getDatatype   [line 92]

void getDatatype( PHP_UML_Metamodel_Datatype $type)

  • Access: public

Parameters:

PHP_UML_Metamodel_Datatype   $type   — 

[ Top ]

getGeneralizations   [line 173]

void getGeneralizations( PHP_UML_Metamodel_Type $client)

  • Access: public

Parameters:

PHP_UML_Metamodel_Type   $client   — 

[ Top ]

getInterface   [line 140]

void getInterface( PHP_UML_Metamodel_Interface $interface)

  • Access: public

Parameters:

PHP_UML_Metamodel_Interface   $interface   — 

[ Top ]

getManifestation   [line 379]

string getManifestation( string $client, string $supplier, string $name)

Generates a manifestation element (= the link between a class and the artifact where the class is defined)
  • Return: XMI code
  • Access: public

Parameters:

string   $client   —  Name of the client
string   $supplier   —  Name of the supplier
string   $name   —  Name of the relation

[ Top ]

getMetadata   [line 364]

void getMetadata( PHP_UML_Metamodel_Tag $tag)

  • Access: public

Parameters:

PHP_UML_Metamodel_Tag   $tag   — 

[ Top ]

getModelClose   [line 57]

void getModelClose( )

  • Access: public

[ Top ]

getModelOpen   [line 51]

void getModelOpen( PHP_UML_Metamodel_Package $model)

  • Access: public

Overridden in child classes as:

PHP_UML_Output_Eclipse_BuilderImpl2::getModelOpen()

Parameters:

PHP_UML_Metamodel_Package   $model   — 

[ Top ]

getNamespaceClose   [line 87]

void getNamespaceClose( )

  • Access: public

[ Top ]

getNamespaceOpen   [line 82]

void getNamespaceOpen( )

  • Access: public

[ Top ]

getOperation   [line 207]

void getOperation( PHP_UML_Metamodel_Operation $operation)

  • Access: public

Parameters:

PHP_UML_Metamodel_Operation   $operation   — 

[ Top ]

getPackageClose   [line 77]

void getPackageClose( )

  • Access: public

[ Top ]

getPackageOpen   [line 67]

void getPackageOpen( PHP_UML_Metamodel_Package $package)

  • Access: public

Parameters:

PHP_UML_Metamodel_Package   $package   — 

[ Top ]

getParameter   [line 231]

void getParameter( PHP_UML_Metamodel_Parameter $parameter)

  • Access: public

Parameters:

PHP_UML_Metamodel_Parameter   $parameter   — 

[ Top ]

getParameterType   [line 239]

void getParameterType( PHP_UML_Metamodel_TypedElement $parameter)

  • Access: public

Parameters:

PHP_UML_Metamodel_TypedElement   $parameter   — 

[ Top ]

getProfile   [line 315]

string getProfile( )

Formates a Profile adapted to PHP_UML.

TODO. Experimental.

  • Return: XMI Code
  • Access: public

[ Top ]

getProperty   [line 186]

void getProperty( PHP_UML_Metamodel_Property $property)

  • Access: public

Parameters:

PHP_UML_Metamodel_Property   $property   — 

[ Top ]

getRealizations   [line 158]

void getRealizations( PHP_UML_Metamodel_Class $client)

  • Access: public

Overridden in child classes as:

PHP_UML_Output_Eclipse_BuilderImpl2::getRealizations()

Parameters:

PHP_UML_Metamodel_Class   $client   — 

[ Top ]

getStereotypeInstance   [line 348]

string getStereotypeInstance( PHP_UML_Metamodel_Stereotype $s)

Gets all the elements contained in a stereotype Note: the property "documentation" is not discarded (we will have it as an "ownedComent" tag, instead; see getComment())
  • Access: public

Parameters:

PHP_UML_Metamodel_Stereotype   $s   —  Stereotype

[ Top ]

getStereotypes   [line 334]

void getStereotypes( )

  • Access: public

[ Top ]

getSubsystemClose   [line 109]

void getSubsystemClose( )

  • Access: public

[ Top ]

getSubsystemOpen   [line 102]

void getSubsystemOpen( PHP_UML_Metamodel_Package $package)

  • Access: public

Parameters:

PHP_UML_Metamodel_Package   $package   — 

[ Top ]

getXmiHeaderClose   [line 62]

void getXmiHeaderClose( )

  • Access: public

Overridden in child classes as:

PHP_UML_Output_Eclipse_BuilderImpl2::getXmiHeaderClose()

[ Top ]

getXmiHeaderOpen   [line 42]

void getXmiHeaderOpen( )

  • Access: public

Overridden in child classes as:

PHP_UML_Output_Eclipse_BuilderImpl2::getXmiHeaderOpen()

[ Top ]


Documentation generated on Mon, 11 Mar 2019 16:01:22 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.