MetaDone
metadone.metabusiness.impl.ConcreteRole_impl Class Reference
Inheritance diagram for metadone.metabusiness.impl.ConcreteRole_impl:
Collaboration diagram for metadone.metabusiness.impl.ConcreteRole_impl:

List of all members.

Public Member Functions

 ConcreteRole_impl (K_Object target, K_Property target_property) throws BadPreCondition
MetaRole_impl getMetaRole () throws BadPreCondition
ConcreteObject_impl getDomain () throws BadPreCondition
ConcreteObject_impl getRange () throws BadPreCondition
ConcreteObject getSide (RoleSide side) throws BadPreCondition
void afterDomain (ConcreteRole cr) throws BadPreCondition
void afterRange (ConcreteRole cr) throws BadPreCondition
String toString ()

Private Attributes

final K_Property target_property

Constructor & Destructor Documentation

metadone.metabusiness.impl.ConcreteRole_impl.ConcreteRole_impl ( K_Object  target,
K_Property  target_property 
) throws BadPreCondition

Member Function Documentation

void metadone.metabusiness.impl.ConcreteRole_impl.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

Implements metadone.metabusiness.ConcreteRole.

References metadone.repository.kernel.K_Common.getDataObject(), metadone.metabusiness.impl.ConcreteRole_impl.getDomain(), metadone.repository.kernel.K_Object.getDomainOf(), metadone.metabusiness.impl.ConcreteRole_impl.getMetaRole(), metadone.metabusiness.impl.MetaRole_impl.getMetaroleType(), metadone.metabusiness.impl.ConcreteObject_impl.getTarget(), metadone.repository.kernel.K_Property.moveAfterDomain(), and metadone.repository.kernel.DataObject.narrow_K_Property().

void metadone.metabusiness.impl.ConcreteRole_impl.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

Implements metadone.metabusiness.ConcreteRole.

References metadone.repository.kernel.K_Common.getDataObject(), metadone.metabusiness.impl.ConcreteRole_impl.getMetaRole(), metadone.metabusiness.impl.MetaRole_impl.getMetaroleType(), metadone.metabusiness.impl.ConcreteRole_impl.getRange(), metadone.repository.kernel.K_Object.getRangeOf(), metadone.metabusiness.impl.ConcreteObject_impl.getTarget(), metadone.repository.kernel.K_Property.moveAfterDomain(), and metadone.repository.kernel.DataObject.narrow_K_Property().


Member Data Documentation


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