MetaDone
metadone.client.grasyla2.ref.RefSpecEngine Class Reference
Inheritance diagram for metadone.client.grasyla2.ref.RefSpecEngine:
Collaboration diagram for metadone.client.grasyla2.ref.RefSpecEngine:

List of all members.

Public Member Functions

 RefSpecEngine (GrasylaContext context, ConcreteObject expression, Engine parent) throws BadPreCondition

Protected Member Functions

void activate ()

Package Functions

protected< C > Component
<?extends C > 
buildNewComponent (Class< C > clComp) throws BadPreCondition

Static Package Functions

static final Pair< RefType,
RoleSide > 
getTypeAndSide (final GrasylaEngine engine, BootstrapGrasyla grasyla) throws BadPreCondition
static Pair< RefType, RoleSide > getTypeAndSide (final ConcreteObject expression, BootstrapGrasyla grasyla) throws BadPreCondition
static void registerSubscriber (final GrasylaEngine engine, ConcreteObject self, RefType type, RoleSide side, final Subscriber<?super EventLinkSpec > subscriber)
static boolean isSelf (ConcreteObject expr) throws BadPreCondition

Private Attributes

RefType type
RoleSide side

Detailed Description

Evaluates a special reference.

Source
Skips if SelfEngine#isSelf(ConcreteObject) is true and does not change the functor.
Author:
kma
See also:
RefEngine

Constructor & Destructor Documentation

metadone.client.grasyla2.ref.RefSpecEngine.RefSpecEngine ( GrasylaContext  context,
ConcreteObject  expression,
Engine  parent 
) throws BadPreCondition

Member Function Documentation

protected<C> Component<? extends C> metadone.client.grasyla2.ref.RefSpecEngine.buildNewComponent ( Class< C >  clComp) throws BadPreCondition [package, virtual]
static Pair<RefType, RoleSide> metadone.client.grasyla2.ref.RefSpecEngine.getTypeAndSide ( final ConcreteObject  expression,
BootstrapGrasyla  grasyla 
) throws BadPreCondition [static, package]

Gets the type and the side.

Parameters:
expressionThe expression
grasylaThe grasyla
Returns:
A pair (type, side)
Exceptions:
BadPreConditionwhen the pair couldn't be retrieved

References metadone.client.grasyla2.GrasylaEngine.expression, metadone.metabusiness.ConcreteObject.getOnePropertyValue(), metadone.client.grasyla2.ref.RefSpecEngine.side, and metadone.client.grasyla2.ref.RefSpecEngine.type.

static final Pair<RefType, RoleSide> metadone.client.grasyla2.ref.RefSpecEngine.getTypeAndSide ( final GrasylaEngine  engine,
BootstrapGrasyla  grasyla 
) throws BadPreCondition [static, package]

Gets the type and the side.

Parameters:
engineThe engine
grasylaThe grasyla
Returns:
A pair (type, side)
Exceptions:
BadPreConditionwhen the pair couldn't be retrieved

Referenced by metadone.client.grasyla2.ref.UpdateOnEngine.activate(), metadone.client.grasyla2.ref.RefSpecEngine.buildNewComponent(), metadone.client.grasyla2.ref.MetaEngine.buildNewComponent(), and metadone.client.grasyla2.ref.CORefSpecEngine.evaluateComponent().

static void metadone.client.grasyla2.ref.RefSpecEngine.registerSubscriber ( final GrasylaEngine  engine,
ConcreteObject  self,
RefType  type,
RoleSide  side,
final Subscriber<?super EventLinkSpec subscriber 
) [static, package]

Member Data Documentation


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