public final class DualObjectFactoryGenerator extends ObjectFactoryGenerator
ObjectFactoryGenerator used when we generate
interfaces and implementations in separate packages.
publicOFG and privateOFG gives you access to
ObjectFactorys in both packages, if you need to.
| Modifier and Type | Field | Description |
|---|---|---|
ObjectFactoryGenerator |
privateOFG |
|
ObjectFactoryGenerator |
publicOFG |
| Modifier and Type | Method | Description |
|---|---|---|
com.sun.codemodel.JDefinedClass |
getObjectFactory() |
Returns the private version (which is what gets used at runtime.)
|
public final ObjectFactoryGenerator publicOFG
public final ObjectFactoryGenerator privateOFG
public com.sun.codemodel.JDefinedClass getObjectFactory()
getObjectFactory in class ObjectFactoryGeneratorCopyright © 2018 Oracle Corporation. All rights reserved.