oracle.clex.tools.addin.activitymodel.generator.jdev
Class ActivityModelDefinitionSet

oracle.clex.tools.addin.activitymodel.generator.jdev.ActivityModelDefinitionSet

public class ActivityModelDefinitionSet


Field Summary
protected  java.util.List modelDefinitions
           
 
Constructor Summary
ActivityModelDefinitionSet()
          The Constructor calls the super with a default name for the file, the root tag and a Class array of supported Definitions
 
Method Summary
 java.util.List getDefinitions()
          The getter for Model definitions
 boolean isEmpty()
          Checks to see if the model definitions are empty
 void setDefinitions(java.util.List modelDefinitions)
          The setter for model definitions
 void storeDefinition(oracle.bm.genframework.definition.IDefinition definition)
          Stores the definitions found on the model in the modelDefinitions list
 void writeDefinitions(oracle.ide.model.Container container, oracle.bm.genframework.ui.GenerationUI generationui)
          This method writes all the definitions to a service definition file in the XML format understood by the Service Loader of the MVC Framework
 

Field Detail

modelDefinitions

protected java.util.List modelDefinitions
Constructor Detail

ActivityModelDefinitionSet

public ActivityModelDefinitionSet()
The Constructor calls the super with a default name for the file, the root tag and a Class array of supported Definitions
Method Detail

setDefinitions

public void setDefinitions(java.util.List modelDefinitions)
The setter for model definitions
Parameters:
modelDefinitions - A list of definitions found on the model

getDefinitions

public java.util.List getDefinitions()
The getter for Model definitions
Returns:
model definitions The definitions found on the model

storeDefinition

public void storeDefinition(oracle.bm.genframework.definition.IDefinition definition)
Stores the definitions found on the model in the modelDefinitions list
Parameters:
definition - An instance of IDefinition that was found on the model

isEmpty

public boolean isEmpty()
Checks to see if the model definitions are empty

writeDefinitions

public void writeDefinitions(oracle.ide.model.Container container,
                             oracle.bm.genframework.ui.GenerationUI generationui)
                      throws java.io.IOException,
                             oracle.bm.genframework.common.ModelerGeneratorException
This method writes all the definitions to a service definition file in the XML format understood by the Service Loader of the MVC Framework
Parameters:
generationUI - The UI for choosing a file to generate to @see ServiceGenerationUI


Copyright © 2003 ORACLE Corp. All Rights Reserved.