MetaDone
metadone.metabusiness.syntax.grasyla.GrasylaView Class Reference
Inheritance diagram for metadone.metabusiness.syntax.grasyla.GrasylaView:
Collaboration diagram for metadone.metabusiness.syntax.grasyla.GrasylaView:

List of all members.

Public Member Functions

 GrasylaView (ConcreteModel target) throws BadPreCondition
GrasylaScript getScript ()
User getUser () throws BadPreCondition
ConcreteModel getModel () throws BadPreCondition
String getNameView () throws BadPreCondition
void rename (String rename) throws BadPreCondition

Static Public Member Functions

static View getGlobalView (View view)

Private Member Functions

void _rename (String rename) throws InternalException

Detailed Description

A simple grasyla view.

Author:
kma

Constructor & Destructor Documentation

metadone.metabusiness.syntax.grasyla.GrasylaView.GrasylaView ( ConcreteModel  target) throws BadPreCondition

Member Function Documentation

static View metadone.metabusiness.syntax.grasyla.GrasylaView.getGlobalView ( View  view) [static]

Gets a view in which this element is located which is not internal.

By not internal, means that it does not implement InternalViewElement. If the view returned by getView() is internal, the parent is tested, as so on.

Returns:
The view (not internal)

Referenced by metadone.client.grasyla2.GrasylaContext.activate(), metadone.client.grasyla2.GrasylaContext.deactivate(), metadone.client.grasyla2.GrasylaContext.declareVariable(), metadone.client.grasyla2.GrasylaContext.getVariable(), and metadone.client.grasyla2.GrasylaContext.setVariable().

ConcreteModel metadone.metabusiness.syntax.grasyla.GrasylaView.getModel ( ) throws BadPreCondition

Gets the model.

Returns:
the model of the view (in terms of the MVC terminology)
Exceptions:
BadPreCondition

Implements metadone.metabusiness.syntax.UserView.

References metadone.metabusiness.syntax.grasyla.AbstractGrasylaView.getGrasyla(), metadone.util.ListUtil.getOneOf(), and metadone.metabusiness.syntax.AbstractView.getTarget().

void metadone.metabusiness.syntax.grasyla.GrasylaView.rename ( String  rename) throws BadPreCondition

Sets the new name of the view. The modification is refused if the preconditions are not checked.

Parameters:
renamethe new name of the view
Exceptions:
BadPreCondition

References metadone.metabusiness.syntax.grasyla.GrasylaView._rename(), and metadone.exception.NullArgument.check().

Referenced by metadone.metabusiness.syntax.grasyla.GrasylaView._rename().


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