protected Result createClasses(Outline outline, CClassInfo bean) { JClassContainer parent = outline.getContainer( bean.parent(), Aspect.EXPOSED ); JDefinedClass impl = outline.getClassFactory().createClass( parent, JMod.PUBLIC|(parent.isPackage()?0:JMod.STATIC)|(bean.isAbstract()?JMod.ABSTRACT:0), bean.shortName, bean.getLocator() ); impl.annotate2(XmlAccessorTypeWriter.class).value(XmlAccessType.FIELD); return new Result(impl,impl); }
protected Result createClasses(Outline outline, CClassInfo bean) { JClassContainer parent = outline.getContainer( bean.parent(), Aspect.EXPOSED ); JDefinedClass impl = outline.getClassFactory().createClass( parent, JMod.PUBLIC|(parent.isPackage()?0:JMod.STATIC)|(bean.isAbstract()?JMod.ABSTRACT:0), bean.shortName, bean.getLocator() ); impl.annotate2(XmlAccessorTypeWriter.class).value(XmlAccessType.FIELD); return new Result(impl,impl); }
protected Result createClasses(Outline outline, CClassInfo bean) { JClassContainer parent = outline.getContainer( bean.parent(), Aspect.EXPOSED ); JDefinedClass impl = outline.getClassFactory().createClass( parent, JMod.PUBLIC|(parent.isPackage()?0:JMod.STATIC)|(bean.isAbstract()?JMod.ABSTRACT:0), bean.shortName, bean.getLocator() ); impl.annotate2(XmlAccessorTypeWriter.class).value(XmlAccessType.FIELD); return new Result(impl,impl); }
protected Result createClasses(Outline outline, CClassInfo bean) { JClassContainer parent = outline.getContainer( bean.parent(), Aspect.EXPOSED ); JDefinedClass impl = outline.getClassFactory().createClass( parent, JMod.PUBLIC|(parent.isPackage()?0:JMod.STATIC)|(bean.isAbstract()?JMod.ABSTRACT:0), bean.shortName, bean.getLocator() ); impl.annotate2(XmlAccessorTypeWriter.class).value(XmlAccessType.FIELD); return new Result(impl,impl); }
protected Result createClasses(Outline outline, CClassInfo bean) { JClassContainer parent = outline.getContainer( bean.parent(), Aspect.EXPOSED ); JDefinedClass impl = outline.getClassFactory().createClass( parent, JMod.PUBLIC|(parent.isPackage()?0:JMod.STATIC)|(bean.isAbstract()?JMod.ABSTRACT:0), bean.shortName, bean.getLocator() ); impl.annotate2(XmlAccessorTypeWriter.class).value(XmlAccessType.FIELD); return new Result(impl,impl); }
protected Result createClasses( Outline outline, CClassInfo bean ) { JClassContainer parent = outline.getContainer( bean.parent(), Aspect.EXPOSED ); JDefinedClass intf = outline.getClassFactory().createInterface( parent, bean.shortName, bean.getLocator() ); parent = outline.getContainer(bean.parent(), Aspect.IMPLEMENTATION); JDefinedClass impl = outline.getClassFactory().createClass( parent, JMod.PUBLIC|(parent.isPackage()?0:JMod.STATIC)|(bean.isAbstract()?JMod.ABSTRACT:0), bean.shortName+"Impl", bean.getLocator() ); impl.annotate2(XmlAccessorTypeWriter.class).value(XmlAccessType.FIELD); impl._implements(intf); return new Result(intf,impl); }
protected Result createClasses( Outline outline, CClassInfo bean ) { JClassContainer parent = outline.getContainer( bean.parent(), Aspect.EXPOSED ); JDefinedClass intf = outline.getClassFactory().createInterface( parent, bean.shortName, bean.getLocator() ); parent = outline.getContainer(bean.parent(), Aspect.IMPLEMENTATION); JDefinedClass impl = outline.getClassFactory().createClass( parent, JMod.PUBLIC|(parent.isPackage()?0:JMod.STATIC)|(bean.isAbstract()?JMod.ABSTRACT:0), bean.shortName+"Impl", bean.getLocator() ); impl.annotate2(XmlAccessorTypeWriter.class).value(XmlAccessType.FIELD); impl._implements(intf); return new Result(intf,impl); }
protected Result createClasses( Outline outline, CClassInfo bean ) { JClassContainer parent = outline.getContainer( bean.parent(), Aspect.EXPOSED ); JDefinedClass intf = outline.getClassFactory().createInterface( parent, bean.shortName, bean.getLocator() ); parent = outline.getContainer(bean.parent(), Aspect.IMPLEMENTATION); JDefinedClass impl = outline.getClassFactory().createClass( parent, JMod.PUBLIC|(parent.isPackage()?0:JMod.STATIC)|(bean.isAbstract()?JMod.ABSTRACT:0), bean.shortName+"Impl", bean.getLocator() ); impl.annotate2(XmlAccessorTypeWriter.class).value(XmlAccessType.FIELD); impl._implements(intf); return new Result(intf,impl); }
protected Result createClasses( Outline outline, CClassInfo bean ) { JClassContainer parent = outline.getContainer( bean.parent(), Aspect.EXPOSED ); JDefinedClass intf = outline.getClassFactory().createInterface( parent, bean.shortName, bean.getLocator() ); parent = outline.getContainer(bean.parent(), Aspect.IMPLEMENTATION); JDefinedClass impl = outline.getClassFactory().createClass( parent, JMod.PUBLIC|(parent.isPackage()?0:JMod.STATIC)|(bean.isAbstract()?JMod.ABSTRACT:0), bean.shortName+"Impl", bean.getLocator() ); impl.annotate2(XmlAccessorTypeWriter.class).value(XmlAccessType.FIELD); impl._implements(intf); return new Result(intf,impl); }
protected Result createClasses( Outline outline, CClassInfo bean ) { JClassContainer parent = outline.getContainer( bean.parent(), Aspect.EXPOSED ); JDefinedClass intf = outline.getClassFactory().createInterface( parent, bean.shortName, bean.getLocator() ); parent = outline.getContainer(bean.parent(), Aspect.IMPLEMENTATION); JDefinedClass impl = outline.getClassFactory().createClass( parent, JMod.PUBLIC|(parent.isPackage()?0:JMod.STATIC)|(bean.isAbstract()?JMod.ABSTRACT:0), bean.shortName+"Impl", bean.getLocator() ); impl.annotate2(XmlAccessorTypeWriter.class).value(XmlAccessType.FIELD); impl._implements(intf); return new Result(intf,impl); }