org.plasma.text.lang3gl.java
Class SDOInterfaceFactory
java.lang.Object
org.plasma.text.lang3gl.java.DefaultFactory
org.plasma.text.lang3gl.java.SDODefaultFactory
org.plasma.text.lang3gl.java.SDOInterfaceFactory
- All Implemented Interfaces:
- InterfaceFactory, Lang3GLContentFactory
public class SDOInterfaceFactory
- extends SDODefaultFactory
- implements InterfaceFactory
| 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 |
SDOInterfaceFactory
public SDOInterfaceFactory(Lang3GLContext context)
createContent
public String createContent(Package pkg,
Class clss)
- Description copied from interface:
InterfaceFactory
- Returns an 3Gl language specific content for the given Package and Type
- Specified by:
createContent in interface InterfaceFactory
- Parameters:
pkg - the Packageclss - the Type
- Returns:
- the content
createThirdPartyImportDeclarations
protected String createThirdPartyImportDeclarations(Package pkg,
Class clss)
createTypeDeclaration
protected String createTypeDeclaration(Package pkg,
Class clss)
createStaticFieldDeclarations
protected String createStaticFieldDeclarations(Class clss)
createMethodDeclarations
protected String createMethodDeclarations(Class clss)
createMethodDeclarations
protected String createMethodDeclarations(Class clss,
Property field)
createFileName
public String createFileName(Class clss)
- Description copied from interface:
InterfaceFactory
- Returns an 3Gl language specific file name for the given Class based on
configuration settings.
- Specified by:
createFileName in interface InterfaceFactory
- Parameters:
clss - the class
- Returns:
- an 3Gl language specific file name for the given Class based on
configuration settings
- See Also:
Class
createSDOInterfaceReferenceImportDeclarations
protected String createSDOInterfaceReferenceImportDeclarations(Package pkg,
Class clss)
- Overrides:
createSDOInterfaceReferenceImportDeclarations in class SDODefaultFactory
Copyright © 2014. All rights reserved.