org.plasma.text.lang3gl
Interface Lang3GLContentFactory

All Known Subinterfaces:
ClassFactory, EnumerationFactory, InterfaceFactory
All Known Implementing Classes:
DSLClassFactory, JDOClassFactory, JDOInterfaceFactory, SDOClassFactory, SDOEnumerationFactory, SDOInterfaceFactory

public interface Lang3GLContentFactory


Method Summary
 java.lang.String createBaseDirectoryName(Package pkg)
          Returns an 3Gl language specific base directory name for the given Package based on configuration settings.
 java.lang.String createDirectoryName(Package pkg)
          Returns an 3Gl language specific directory name for the given Package based on configuration settings.
 Lang3GLContext getContext()
          Returns the language context for this factory.
 java.lang.Class<?> getTypeClass(DataType dataType)
          Returns a 3Gl language specific class for the given SDO data-type (as per the SDO Specification 2.10 Section 8.1) where primitive type names or wrapper type names returned based on the current context.
 

Method Detail

getContext

Lang3GLContext getContext()
Returns the language context for this factory.

Returns:
the language context for this factory.

getTypeClass

java.lang.Class<?> getTypeClass(DataType dataType)
Returns a 3Gl language specific class for the given SDO data-type (as per the SDO Specification 2.10 Section 8.1) where primitive type names or wrapper type names returned based on the current context.

Parameters:
dataType - the SDO datatype
Returns:
the 3Gl language specific type class.
See Also:
Lang3GLModelContext, DataType

createBaseDirectoryName

java.lang.String createBaseDirectoryName(Package pkg)
Returns an 3Gl language specific base directory name for the given Package based on configuration settings.

Parameters:
pkg - the package
Returns:
an 3Gl language specific directory name for the given Package based on configuration settings
See Also:
Package

createDirectoryName

java.lang.String createDirectoryName(Package pkg)
Returns an 3Gl language specific directory name for the given Package based on configuration settings.

Parameters:
pkg - the package
Returns:
an 3Gl language specific directory name for the given Package based on configuration settings
See Also:
Package


Copyright © 2013. All Rights Reserved.