public class JHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
packageSeparator |
| Constructor and Description |
|---|
JHelper(TypeRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConstantsClassName(CDocument document) |
Object |
getDefaultValue(PField field) |
String |
getFieldType(PDescriptor type) |
String |
getInstanceClassName(PField field) |
String |
getJavaPackage(CDocument document) |
String |
getJavaPackage(PDeclaredDescriptor<?> type) |
String |
getJavaPackage(PService type) |
String |
getProviderName(PDescriptor type) |
String |
getProviderName(PField field) |
String |
getValueType(PDescriptor type) |
public static String packageSeparator
public JHelper(TypeRegistry registry)
public String getJavaPackage(PDeclaredDescriptor<?> type) throws GeneratorException
GeneratorExceptionpublic String getJavaPackage(PService type) throws GeneratorException
GeneratorExceptionpublic String getJavaPackage(CDocument document) throws GeneratorException
GeneratorExceptionpublic String getInstanceClassName(PField field) throws GeneratorException
GeneratorExceptionpublic String getValueType(PDescriptor type) throws GeneratorException
GeneratorExceptionpublic String getFieldType(PDescriptor type) throws GeneratorException
GeneratorExceptionpublic String getProviderName(PDescriptor type) throws GeneratorException
GeneratorExceptionpublic String getProviderName(PField field) throws GeneratorException
GeneratorExceptionCopyright © 2015–2016 morimekta.net. All rights reserved.