MetaDone
|
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 |
metadone.metabusiness.impl.ConcreteRole_impl.ConcreteRole_impl | ( | K_Object | target, |
K_Property | target_property | ||
) | throws BadPreCondition |
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.
cr | The concrete role or null |
BadPreCondition | when 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.
cr | The concrete role or null |
BadPreCondition | when 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().
ConcreteObject_impl metadone.metabusiness.impl.ConcreteRole_impl.getDomain | ( | ) | throws BadPreCondition |
Gets the object on the domain side of this concrete role.
BadPreCondition |
Implements metadone.metabusiness.ConcreteRole.
References metadone.metabusiness.impl.FactoryOfProxy.buildConcreteObject(), metadone.repository.kernel.K_Property.getDomain(), and metadone.metabusiness.impl.ConcreteRole_impl.target_property.
Referenced by metadone.metabusiness.impl.ConcreteRole_impl.afterDomain(), metadone.metabusiness.impl.ConcreteRole_impl.getSide(), and metadone.metabusiness.impl.ConcreteRole_impl.toString().
MetaRole_impl metadone.metabusiness.impl.ConcreteRole_impl.getMetaRole | ( | ) | throws BadPreCondition |
Gets the metarole for this concrete role.
BadPreCondition |
Implements metadone.metabusiness.ConcreteRole.
References metadone.metabusiness.impl.FactoryOfProxy.buildMetaRole(), metadone.metabusiness.impl.ConcreteObject_impl.getTarget(), and metadone.metabusiness.impl.WorkspaceObject_impl.getWorkspace().
Referenced by metadone.metabusiness.impl.ConcreteRole_impl.afterDomain(), and metadone.metabusiness.impl.ConcreteRole_impl.afterRange().
ConcreteObject_impl metadone.metabusiness.impl.ConcreteRole_impl.getRange | ( | ) | throws BadPreCondition |
Gets the object on the range side of this concrete role.
BadPreCondition |
Implements metadone.metabusiness.ConcreteRole.
References metadone.metabusiness.impl.FactoryOfProxy.buildConcreteObject(), metadone.repository.kernel.K_Property.getRange(), and metadone.metabusiness.impl.ConcreteRole_impl.target_property.
Referenced by metadone.metabusiness.impl.ConcreteRole_impl.afterRange(), metadone.metabusiness.impl.ConcreteRole_impl.getSide(), and metadone.metabusiness.impl.ConcreteRole_impl.toString().
ConcreteObject metadone.metabusiness.impl.ConcreteRole_impl.getSide | ( | RoleSide | side | ) | throws BadPreCondition |
String metadone.metabusiness.impl.ConcreteRole_impl.toString | ( | ) |