MetaDone
metadone.metabusiness.syntax.Script Interface Reference
Inheritance diagram for metadone.metabusiness.syntax.Script:

List of all members.

Public Member Functions

ConcreteModel getTarget ()
Set< MetaModelgetMetamodels ()
Set< String > getFeatures ()
boolean hasFeatureOption (String name, boolean defaultValue)
List<?extends ViewgetViews ()
void delete () throws BadPreCondition

Detailed Description

The script class denotes a proxy to the concretemodel that represents a definition of a view. Subtypes of this class will denote Grasyla scripts or other script from other languages.

Author:
Vincent

Member Function Documentation

void metadone.metabusiness.syntax.Script.delete ( ) throws BadPreCondition

Delete the script with all its views.

Exceptions:
BadPreCondition

Implemented in metadone.metabusiness.syntax.grasyla.GrasylaScript.

Set<String> metadone.metabusiness.syntax.Script.getFeatures ( )

Gets the features exported by this script.

Returns:
The set of features

Implemented in metadone.metabusiness.syntax.grasyla.GrasylaScript.

Set<MetaModel> metadone.metabusiness.syntax.Script.getMetamodels ( )

Gets the represented metamodels.

Returns:
the metamodels attached to this script.

Implemented in metadone.metabusiness.syntax.grasyla.GrasylaScript.

ConcreteModel metadone.metabusiness.syntax.Script.getTarget ( )

Gets the target.

Returns:
Returns the target.

Implemented in metadone.metabusiness.syntax.grasyla.GrasylaScript.

List<? extends View> metadone.metabusiness.syntax.Script.getViews ( )

Gets the views based on this script.

Returns:
The views attached with that script.
Exceptions:
BadPreCondition

Implemented in metadone.metabusiness.syntax.grasyla.GrasylaScript.

boolean metadone.metabusiness.syntax.Script.hasFeatureOption ( String  name,
boolean  defaultValue 
)

Test if a feature with a given name is set and returns its value.

Parameters:
nameThe name of the option
defaultValueThe default value (if the option is not defined)
Returns:
The option value

Implemented in metadone.metabusiness.syntax.grasyla.GrasylaScript.


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