1 28 29 package org.objectweb.openccm.uml.lib; 30 31 import org.objectweb.util.cmdline.lib.DefaultOptionBase; 32 33 41 42 public class OptionMonolithic 43 extends DefaultOptionBase 44 { 45 51 57 58 public 59 OptionMonolithic(org.objectweb.openccm.uml.api.UML2CCM generator) 60 { 61 super(new String [] { "--monolithic"}, 62 new String [0], 63 "Generate the monolithic version of the Java implementation (CIF Implementation by default)"); 64 this.generator = generator; 65 } 66 67 73 74 org.objectweb.openccm.uml.api.UML2CCM generator; 75 76 82 87 public void 88 consume(org.objectweb.util.cmdline.api.Iterator iterator) 89 { 90 generator.setMonolithic(true); 91 } 92 93 } 99 | Popular Tags |