public class SDOEnumerationFactory extends SDODefaultFactory implements EnumerationFactory
classResolver, enumResolver, globalInterfaceProvisioning, interfaceResolver, SDO_RESERVED_NAMEScontext, FILE_SEP, LINE_SEP| Constructor and Description |
|---|
SDOEnumerationFactory(Lang3GLContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createConstructors(Package pkg,
Enumeration enm) |
String |
createContent(Package pkg,
Enumeration enm)
Returns an 3Gl language specific content for the given Package and Type
|
String |
createFileName(Enumeration clss)
Returns an 3Gl language specific file name for the given Enumeration based on
configuration settings.
|
protected String |
createOperations(Package pkg,
Enumeration enm) |
protected String |
createOperations(Package pkg,
Enumeration enm,
EnumerationLiteral lit) |
protected String |
createPrivateFieldDeclarations(Enumeration enm) |
protected String |
createSDOInterfaceReferenceImportDeclarations(Package pkg,
Class clss) |
protected String |
createStaticFieldDeclarations(Enumeration enumeration) |
protected String |
createThirdPartyImportDeclarations(Package pkg,
Class clss) |
protected String |
createTypeDeclaration(Package pkg,
Enumeration enumeration) |
createBaseDirectoryName, createDirectoryName, createPackageDeclaration, getImplementationClassName, toMethodFieldName, toQualifiedPropertyNameReferencebeginBody, 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, toEnumLiteralNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateBaseDirectoryName, createDirectoryName, getContext, getTypeClasspublic SDOEnumerationFactory(Lang3GLContext context)
public String createFileName(Enumeration clss)
EnumerationFactorycreateFileName in interface EnumerationFactoryclss - the EnumerationEnumerationpublic String createContent(Package pkg, Enumeration enm)
EnumerationFactorycreateContent in interface EnumerationFactorypkg - the Packageenm - the Typeprotected String createTypeDeclaration(Package pkg, Enumeration enumeration)
protected String createConstructors(Package pkg, Enumeration enm)
protected String createOperations(Package pkg, Enumeration enm)
protected String createOperations(Package pkg, Enumeration enm, EnumerationLiteral lit)
protected String createSDOInterfaceReferenceImportDeclarations(Package pkg, Class clss)
createSDOInterfaceReferenceImportDeclarations in class SDODefaultFactoryprotected String createThirdPartyImportDeclarations(Package pkg, Class clss)
protected String createStaticFieldDeclarations(Enumeration enumeration)
protected String createPrivateFieldDeclarations(Enumeration enm)
Copyright © 2017. All rights reserved.