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

List of all members.

Public Member Functions

 GrasylaContextEquation (ConcreteObjectGroup cog, GrasylaContext parent)
 GrasylaContextEquation (ConcreteObjectGroup cog, GrasylaContext parent, MetaclassType mc, MetaModel metamodel)
final GrasylaEquation getEquation ()
GrasylaEquation findEquation () throws BadPreCondition
MetaModel getMetaModel ()

Protected Member Functions

String getFunctorFromParent ()
MetaclassType getForcedMetaclass ()
MetaModel getForcedMetaModel ()

Private Attributes

GrasylaEquation equation
MetaclassType metaclass
MetaModel metamodel

Detailed Description

A grasyla context that resolves an equation.

Author:
kma

Constructor & Destructor Documentation

metadone.client.grasyla2.GrasylaContextEquation.GrasylaContextEquation ( ConcreteObjectGroup  cog,
GrasylaContext  parent 
)

Initializes this context.

Parameters:
cogThe concrete object group.
parentThe parent or null

References metadone.client.grasyla2.GrasylaContext.cog, and metadone.client.grasyla2.GrasylaContext.parent.

metadone.client.grasyla2.GrasylaContextEquation.GrasylaContextEquation ( ConcreteObjectGroup  cog,
GrasylaContext  parent,
MetaclassType  mc,
MetaModel  metamodel 
)

Initializes this context.

Parameters:
cogThe concrete object group.
parentThe parent or null
mcThe metaclass type or null
metamodelThe changed/forced metamodel or null

References metadone.client.grasyla2.GrasylaContextEquation.metaclass, and metadone.client.grasyla2.GrasylaContextEquation.metamodel.


Member Function Documentation

MetaclassType metadone.client.grasyla2.GrasylaContextEquation.getForcedMetaclass ( ) [protected]

Gets the metaclass that MUST be used when looking for an equation.

Returns:
The metaclass or null

References metadone.client.grasyla2.GrasylaContextEquation.metaclass.

Referenced by metadone.client.grasyla2.GrasylaContextEquation.findEquation().

MetaModel metadone.client.grasyla2.GrasylaContextEquation.getForcedMetaModel ( ) [protected]
String metadone.client.grasyla2.GrasylaContextEquation.getFunctorFromParent ( ) [protected]
MetaModel metadone.client.grasyla2.GrasylaContextEquation.getMetaModel ( )

Gets the current metamodel.

Returns:
The current metamodel

Reimplemented from metadone.client.grasyla2.GrasylaContext.

Reimplemented in metadone.client.grasyla2.GrasylaRootContext.

References metadone.client.grasyla2.GrasylaContextEquation.getForcedMetaModel().


Member Data Documentation


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