org.plasma.text.lang3gl.java
Class SDODefaultFactory

java.lang.Object
  extended by org.plasma.text.lang3gl.java.DefaultFactory
      extended by org.plasma.text.lang3gl.java.SDODefaultFactory
Direct Known Subclasses:
DSLClassFactory, SDOClassFactory, SDOEnumerationFactory, SDOInterfaceFactory

public abstract class SDODefaultFactory
extends DefaultFactory


Field Summary
protected  ClassNameResolver classResolver
           
protected  InterfaceProvisioning interfaceProvisioning
           
protected  ClassNameResolver interfaceResolver
           
protected static String[] SDO_RESERVED_NAMES
           
 
Fields inherited from class org.plasma.text.lang3gl.java.DefaultFactory
context, FILE_SEP, LINE_SEP
 
Constructor Summary
SDODefaultFactory(Lang3GLContext context)
           
 
Method Summary
 String createBaseDirectoryName(Package pkg)
           
 String createDirectoryName(Package pkg)
           
protected  String createPackageDeclaration(Package pkg)
           
protected  String createSDOInterfaceReferenceImportDeclarations(Package pkg, Class clss)
           
protected  String getImplementationClassName(Class clss)
           
protected  String toMethodFieldName(String name)
           
protected  String toQualifiedPropertyNameReference(Class clss, Property field)
           
 
Methods inherited from class org.plasma.text.lang3gl.java.DefaultFactory
beginBody, collectDataClassNames, collectDataClassNames, collectDataFieldClassNamesDeep, collectProvisioningClasses, collectProvisioningClassesDeep, collectProvisioningFields, collectProvisioningSuperclasses, collectReferenceClassNames, collectReferenceClassNames, collectReferenceFieldClassNamesDeep, collectSuperclassNames, collectSuperClassNames, collectSuperClassNames, createCreatorByAbstractClassDeclaration, createCreatorDeclaration, createFieldImportMap, createImportDeclaration, createImportDeclarations, createIsSetDeclaration, createManyAdderDeclaration, createManyCountDeclaration, createManyGetterDeclaration, createManyIndexGetterDeclaration, createManyRemoverDeclaration, createManySetterDeclaration, createSingularGetterDeclaration, createSingularSetterDeclaration, createUnsetterDeclaration, endBody, firstToUpperCase, getContext, getDataFlavor, getPrimitiveTypeDefault, getTypeClass, getTypeClass, getTypeClassName, getTypeClassName, getWrappedDocmentations, hasOnlySingilarFields, hasOnlySingilarFieldsDeep, indent, newline, toConstantName, toEnumLiteralName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SDO_RESERVED_NAMES

protected static String[] SDO_RESERVED_NAMES

interfaceProvisioning

protected InterfaceProvisioning interfaceProvisioning

interfaceResolver

protected ClassNameResolver interfaceResolver

classResolver

protected ClassNameResolver classResolver
Constructor Detail

SDODefaultFactory

public SDODefaultFactory(Lang3GLContext context)
Method Detail

createPackageDeclaration

protected String createPackageDeclaration(Package pkg)

createBaseDirectoryName

public String createBaseDirectoryName(Package pkg)

createDirectoryName

public String createDirectoryName(Package pkg)

toQualifiedPropertyNameReference

protected String toQualifiedPropertyNameReference(Class clss,
                                                  Property field)

createSDOInterfaceReferenceImportDeclarations

protected String createSDOInterfaceReferenceImportDeclarations(Package pkg,
                                                               Class clss)

getImplementationClassName

protected String getImplementationClassName(Class clss)

toMethodFieldName

protected String toMethodFieldName(String name)
Overrides:
toMethodFieldName in class DefaultFactory


Copyright © 2014. All rights reserved.