Download GME Manual and User Guide - ISIS Forge

Transcript
GME Manual and User Guide
Returns a set which contains all connection points (association ends) of the fco. If role is specified,
then the role of the connection point has to match role. If kind is specified, the kind of connections
must be kind.
If the kind of kind (i.e. the meta-kind) is not gme::Connection, then an exception is thrown and
undefined is returned.
gme::FCO::attachingConnections ( { role : ocl::String {, kind : ocl::String } } ) :
ocl::Set( gme::Connection ) (D)
gme::FCO::attachingConnections ( { role : ocl::String {, kind : ocl::Type } } ) :
ocl::Set( gme::Connection )
gme::FCO::attachingConnections ( kind : ocl::Type ) : ocl::Set( gme::Connection )
Returns a set which contains all connections (instances of association class) that is a link of the fco. If
role is specified, then the role of the connection point in the side of the fco has to match role. If kind
is specified, the kind of the regarded connections must be kind.
If the kind of kind (i.e. the meta-kind) is not gme::Connection, then an exception is thrown and
undefined is returned.
gme::FCO::isConnectedTo ( fco : gme::FCO {, role : ocl::String {, kind :
ocl::String } } ) : ocl::Boolean (D)
gme::FCO::isConnectedTo ( fco : gme::FCO {, role : ocl::String {, kind :
ocl::Type } } ) : ocl::Boolean
gme::FCO::isConnectedTo ( fco : gme::FCO, kind : ocl::Type ) : ocl::Boolean
Returns true if fco is connected to the fco. If role is specified, then the role of fco has to match role.
If kind is specified, the kind of regarded connections must be kind.
If the kind of kind (i.e. the meta-kind) is not gme::Connection, then an exception is thrown and
undefined is returned.
gme::FCO::subTypes( ) : ocl::Set( gme::FCO )
Returns a set which contains all fcos that are subtypes of the fco. Returns an empty set if the fco is not
a type.
gme::FCO::instances( ) : ocl::Set( gme::FCO )
Returns a set which contains all fcos that are instances of this fco as a type. Returns an empty set if the
fco is an instance.
gme::FCO::type( ) : gme::FCO
Returns the type of this fco.
gme::FCO::baseType( ) : gme::FCO
Returns the base type of this fco.
gme::FCO::isType( ) : ocl::Boolean
Returns true if the fco is a type.
gme::FCO::isInstance( ) : ocl::Boolean
Returns true if the fco is not a type, in which case it would be an instance.
gme::FCO::folder( ) : gme::Folder
Returns the closest folder which contains this fco recursively over models.
gme::FCO::referencedBy( { kind : ocl::String } ) : ocl::Set( gme::Reference ) (D)
149