MetaDone
metadone.metabusiness.ConcreteRole Interface Reference
Inheritance diagram for metadone.metabusiness.ConcreteRole:
Collaboration diagram for metadone.metabusiness.ConcreteRole:

List of all members.

Public Member Functions

MetaRole getMetaRole () throws BadPreCondition
ConcreteObject getDomain () throws BadPreCondition
ConcreteObject getRange () throws BadPreCondition
ConcreteObject getSide (RoleSide side) throws BadPreCondition
void afterDomain (ConcreteRole cr) throws BadPreCondition
void afterRange (ConcreteRole cr) throws BadPreCondition

Detailed Description

The concrete role.

Author:
ven
kma
See also:
MetaRole

Member Function Documentation

void metadone.metabusiness.ConcreteRole.afterDomain ( ConcreteRole  cr) throws BadPreCondition

Places this after concrete role after the given cr on the domain side.

If the given cr is null this role is set at the first position. The concerned list is the one of the domain.

Nothing happens if the role is not ordered.

Parameters:
crThe concrete role or null
Exceptions:
BadPreConditionwhen cr is not null and cr and this do not have the same domain or are not instances of the same metarole

Implemented in metadone.metabusiness.impl.ConcreteRole_impl.

Referenced by metadone.client.parsers.grasyla.AST_expression.generate().

void metadone.metabusiness.ConcreteRole.afterRange ( ConcreteRole  cr) throws BadPreCondition

Places this after concrete role after the given cr on the range side.

If the given cr is null this role is set at the first position. The concerned list is the one of the range.

Nothing happens if the role is not ordered.

Parameters:
crThe concrete role or null
Exceptions:
BadPreConditionwhen cr is not null and cr and this do not have the same domain or are not instances of the same metarole

Implemented in metadone.metabusiness.impl.ConcreteRole_impl.

MetaRole metadone.metabusiness.ConcreteRole.getMetaRole ( ) throws BadPreCondition

Gets the metarole for this concrete role.

Returns:
The metarole
Exceptions:
BadPreCondition

Implemented in metadone.metabusiness.impl.ConcreteRole_impl.

Referenced by metadone.client.grasyla2.visuallibrary.VLEdgeEngine.evaluateComponent().

ConcreteObject metadone.metabusiness.ConcreteRole.getSide ( RoleSide  side) throws BadPreCondition

Gets the object on the given side of this concrete role.

Parameters:
sideThe side
Returns:
The object on the given side
Exceptions:
BadPreCondition

Referenced by metadone.client.grasyla2.ref.SideEngine.buildNewComponent(), metadone.metabusiness.impl.ConcreteObject_impl.getFilteredConcreteRoles(), and metadone.metabusiness.impl.ConcreteObject_impl.getFilteredConcreteRolesCO().


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations