| java.lang.Object com.metaboss.sdlctools.services.codegeneration.genericgenerator.BSGenericGeneratorImpl
BSGenericGeneratorImpl | public class BSGenericGeneratorImpl implements BSGenericGenerator(Code) | | Default implementation for the generic generator
|
Method Summary | |
public void | generateDirectoryAsPerPlan(String pGenerationDirectoryPath, String pGenerationPlanName, Map pGenerationContext) | public void | generateDirectoryAsPerPlan(String pGenerationDirectoryPath, String pGenerationPlanName, Collection pRootModelElements, Map pGenerationContext) | public void | generateDirectoryAsPerPlanForMetaBossModelElement(String pGenerationDirectoryPath, String pGenerationPlanName, String pMetaBossModelElementRef, java.util.Map pGenerationContext) Generates any number of any kinds of files for the given element from the default model
dictated by the generation plan with the given name. | public byte[] | generateZipAsPerPlan(String pGenerationPlanName, Collection pRootModelElements, Map pGenerationContext) Generates any number of any kinds of files for the default model dictated by the generation plan with the given name.
dictated by the generation plan with the given name. | public byte[] | generateZipAsPerPlan(String pGenerationPlanName, Map pGenerationContext) Generates any number of any kinds of files for the required list of elements dictated by the generation plan with the given name.
dictated by the generation plan with the given name. | public byte[] | generateZipAsPerPlanForMetaBossModelElement(String pGenerationPlanName, String pMetaBossModelElementRef, java.util.Map pGenerationContext) Generates any number of any kinds of files for the given element from the default model
dictated by the generation plan with the given name. |
BSGenericGeneratorImpl | public BSGenericGeneratorImpl(Hashtable pEnvironment)(Code) | | |
generateDirectoryAsPerPlan | public void generateDirectoryAsPerPlan(String pGenerationDirectoryPath, String pGenerationPlanName, Map pGenerationContext) throws BSException(Code) | | |
generateDirectoryAsPerPlanForMetaBossModelElement | public void generateDirectoryAsPerPlanForMetaBossModelElement(String pGenerationDirectoryPath, String pGenerationPlanName, String pMetaBossModelElementRef, java.util.Map pGenerationContext) throws BSException(Code) | | Generates any number of any kinds of files for the given element from the default model
dictated by the generation plan with the given name. The subdirectory with the same name as the specified plan name must exist on the
path specified in com.metaboss.generation.PluginPath property which is usually set in the
codegeneration.properties config file.
|
generateZipAsPerPlan | public byte[] generateZipAsPerPlan(String pGenerationPlanName, Collection pRootModelElements, Map pGenerationContext) throws BSException(Code) | | Generates any number of any kinds of files for the default model dictated by the generation plan with the given name.
dictated by the generation plan with the given name. Returns the byte array containing the zipped up source.
This version of the method will expect the default model to be the instance of the MetaBoss Meta Model and
will use the element with the specified ref as the root element for generation
Parameters: pGenerationPlanName - the logical name of the generation plan to invoke Parameters: pRootModelElements - the collection of RefBaseObjects to use as the root elements when processing the generation plan Parameters: pGenerationContext - simple map of the values comprising generation context byte array containing zip of the generated files or null if nothing has been generated |
generateZipAsPerPlan | public byte[] generateZipAsPerPlan(String pGenerationPlanName, Map pGenerationContext) throws BSException(Code) | | Generates any number of any kinds of files for the required list of elements dictated by the generation plan with the given name.
dictated by the generation plan with the given name. Returns the byte array containing the zipped up source.
This version of the method will expect the default model to be the instance of the MetaBoss Meta Model and
will use the element with the specified ref as the root element for generation
Parameters: pGenerationPlanName - the logical name of the generation plan to invoke Parameters: pMetaBossModelElementRef - the reference of the MetaBoss model element, which must exist in the default model Parameters: pGenerationContext - simple map of the values comprising generation context byte array containing zip of the generated files or null if nothing has been generated |
generateZipAsPerPlanForMetaBossModelElement | public byte[] generateZipAsPerPlanForMetaBossModelElement(String pGenerationPlanName, String pMetaBossModelElementRef, java.util.Map pGenerationContext) throws BSException(Code) | | Generates any number of any kinds of files for the given element from the default model
dictated by the generation plan with the given name. Returns the byte array containing the zipped up source.
This version of the method will expect the default model to be the instance of the MetaBoss Meta Model and
will use the element with the specified ref as the root element for generation
Parameters: pGenerationPlanName - the logical name of the generation plan to invoke Parameters: pMetaBossModelElementRef - the reference of the MetaBoss model element, which must exist in the default model Parameters: pGenerationContext - simple map of the values comprising generation context byte array containing zip of the generated files or null if nothing has been generated |
|
|