Betty 1.1
es.us.isa.generator.FM.AbstractFMGeneratorDecorator Class Reference
Inheritance diagram for es.us.isa.generator.FM.AbstractFMGeneratorDecorator:
es.us.isa.generator.IGenerator es.us.isa.generator.FM.attributed.AttributedFMGenerator es.us.isa.generator.FM.MetamorphicFMGenerator

List of all members.

Public Member Functions

 AbstractFMGeneratorDecorator (IGenerator gen)
VariabilityModel generateFM (Characteristics ch) throws BettyException
void resetGenerator (Characteristics ch)

Protected Member Functions

void updateRoot (FAMAFeatureModel fm, Feature root)
void updateMandatory (Feature parent, Feature child)
void updateOptional (Feature parent, Feature child)
void updateAlternative (Feature parent, List< Feature > children)
void updateOr (Feature parent, List< Feature > children)
void updateExcludes (FAMAFeatureModel fm, Feature origin, Feature destination)
void updateRequires (FAMAFeatureModel fm, Feature origin, Feature destination)
void updateResetGenerator (Characteristics c)

Detailed Description

This class implements the basic methods of the decorators of random FM generators.


Constructor & Destructor Documentation

es.us.isa.generator.FM.AbstractFMGeneratorDecorator.AbstractFMGeneratorDecorator ( IGenerator  gen)

Constructor. It receives the FM generator to be decorated.


Member Function Documentation

VariabilityModel es.us.isa.generator.FM.AbstractFMGeneratorDecorator.generateFM ( Characteristics  ch) throws BettyException
void es.us.isa.generator.FM.AbstractFMGeneratorDecorator.updateAlternative ( Feature  parent,
List< Feature >  children 
) [protected]

Hook method called just after adding an alternative relation to the model being generated.

Reimplemented in es.us.isa.generator.FM.MetamorphicFMGenerator.

void es.us.isa.generator.FM.AbstractFMGeneratorDecorator.updateExcludes ( FAMAFeatureModel  fm,
Feature  origin,
Feature  destination 
) [protected]

Hook method called just after adding a new excludes constraint to the model being generated.

Reimplemented in es.us.isa.generator.FM.MetamorphicFMGenerator.

void es.us.isa.generator.FM.AbstractFMGeneratorDecorator.updateMandatory ( Feature  parent,
Feature  child 
) [protected]

Hook method called just after adding a new mandatory feature to the model being generated.

Reimplemented in es.us.isa.generator.FM.MetamorphicFMGenerator.

void es.us.isa.generator.FM.AbstractFMGeneratorDecorator.updateOptional ( Feature  parent,
Feature  child 
) [protected]

Hook method called just after adding a new optional feature to the model being generated.

Reimplemented in es.us.isa.generator.FM.MetamorphicFMGenerator.

void es.us.isa.generator.FM.AbstractFMGeneratorDecorator.updateOr ( Feature  parent,
List< Feature >  children 
) [protected]

Hook method called just after adding an or-relationship to the model being generated.

Reimplemented in es.us.isa.generator.FM.MetamorphicFMGenerator.

void es.us.isa.generator.FM.AbstractFMGeneratorDecorator.updateRequires ( FAMAFeatureModel  fm,
Feature  origin,
Feature  destination 
) [protected]

Hook method called just after adding a new requires constraint to the model being generated.

Reimplemented in es.us.isa.generator.FM.MetamorphicFMGenerator.

void es.us.isa.generator.FM.AbstractFMGeneratorDecorator.updateResetGenerator ( Characteristics  c) [protected]

Hook method called just after calling the resetGenerator method in the decorated generator.

Reimplemented in es.us.isa.generator.FM.MetamorphicFMGenerator.

void es.us.isa.generator.FM.AbstractFMGeneratorDecorator.updateRoot ( FAMAFeatureModel  fm,
Feature  root 
) [protected]

Hook method called just after adding the root feature to the model being generated.

Reimplemented in es.us.isa.generator.FM.MetamorphicFMGenerator.


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