public class JavaTemplatesGeneratorUtil extends JavaGeneratorUtil
DEPENDENCIES_CONSTANTS, OPERATION_GETTER_BOOLEAN_PREFIX, OPERATION_GETTER_DEFAULT_PREFIXSERIAL_VERSION_UID| Constructor and Description |
|---|
JavaTemplatesGeneratorUtil() |
capitalizeJavaBeanPropertyName, cloneOperations, containsGenerics, getConstantPrefixTagValue, getI18nPrefixTagValue, hasSkipStereotype, isDoNotGenerateBooleanGetMethods, joinGeneric, splitFqnList, splitGenericcomputeSerialVersionUID, convertVariableNameToConstantName, findTagValue, generateSerialVersionUID, getAssocAttrName, getAttributeType, getAttributeType, getCastValue, getClassAttributesListDeclaration, getClassifiers, getClassNameFromQualifiedName, getDocumentationTagValue, getDocumentationTagValue, getFilenameFromQualifiedName, getFormatingExpression, getHashCodeExpression, getInitValue, getInitValue, getOperationParametersListDeclaration, getOperationParametersListName, getParentPackageName, getParsingExpression, getSimpleName, getSimpleName, getTypesList, hasDocumentation, hasIndexedStereotype, hasOrderedStereotype, hasStereotype, isBooleanPrimitive, isComposition, isFirstAttribute, isNMultiplicity, isNMultiplicity, isOneMultiplicity, isPrimitiveAttributeType, isPrimitiveType, notEmpty, removeAnyGenericDefinition, removeGenericDefinition, splitGenericDefinition, toLowerCaseFirstLetterpublic static boolean hasBeanStereotype(ObjectModelClassifier classifier)
JavaTemplatesStereoTypes.STEREOTYPE_BEAN stereotype.classifier - classifier to testtrue if stereotype was found, false otherwiseJavaTemplatesStereoTypes.STEREOTYPE_BEANpublic static boolean isNoPCS(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_NO_PCS
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_NO_PCSpublic static String getBeanSuperClassTagValue(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_BEAN_SUPER_CLASS
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_BEAN_SUPER_CLASSpublic static String getSimpleBeanSuperClassTagValue(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_SIMPLE_BEAN_SUPER_CLASS
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_SIMPLE_BEAN_SUPER_CLASSpublic static boolean isSimpleBeanGenerateInterface(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_SIMPLE_BEAN_GENERATE_INTERFACE
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_SIMPLE_BEAN_GENERATE_INTERFACEpublic static boolean isSimpleBeanGenerateFactory(ObjectModel model)
JavaTemplatesTagValues.TAG_SIMPLE_BEAN_GENERATE_FACTORY
tag value on the given model or classifier.model - model to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_SIMPLE_BEAN_GENERATE_FACTORYpublic static String getSimpleBeanInterfaceSuperClassTagValue(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_SIMPLE_BEAN_INTERFACE_SUPER_CLASS
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_SIMPLE_BEAN_INTERFACE_SUPER_CLASSpublic static String getSimpleBeanClassNamePrefixTagValue(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_SIMPLE_BEAN_CLASS_NAME_PREFIX
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_SIMPLE_BEAN_CLASS_NAME_PREFIXpublic static String getSimpleBeanClassNameSuffixTagValue(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_SIMPLE_BEAN_CLASS_NAME_SUFFIX
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_SIMPLE_BEAN_CLASS_NAME_SUFFIXpublic static String getSimpleBeanInterfaceNamePrefixTagValue(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_SIMPLE_BEAN_INTERFACE_NAME_PREFIX
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_SIMPLE_BEAN_INTERFACE_NAME_PREFIXpublic static String getSimpleBeanInterfaceNameSuffixTagValue(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_SIMPLE_BEAN_INTERFACE_NAME_SUFFIX
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_SIMPLE_BEAN_INTERFACE_NAME_SUFFIXpublic static boolean isSimpleBeanGenerateDefaults(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_SIMPLE_BEAN_GENERATE_DEFAULTS
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_SIMPLE_BEAN_GENERATE_DEFAULTSpublic static String getSimpleBeanDefaultsSuperClassTagValue(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_SIMPLE_BEAN_DEFAULTS_SUPER_CLASS
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_SIMPLE_BEAN_DEFAULTS_SUPER_CLASSpublic static String getSimpleBeanDefaultsClassNamePrefixTagValue(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_SIMPLE_BEAN_DEFAULTS_CLASS_NAME_PREFIX
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_SIMPLE_BEAN_DEFAULTS_CLASS_NAME_PREFIXpublic static String getSimpleBeanDefaultsClassNameSuffixTagValue(ObjectModel model, ObjectModelClassifier classifier)
JavaTemplatesTagValues.TAG_SIMPLE_BEAN_DEFAULTS_CLASS_NAME_SUFFIX
tag value on the given model or classifier.
It will first look on the model, and then in the given classifier.
If not filled, then use default s value.model - model to seekclassifier - classifier to seeknull if not found nor empty.JavaTemplatesTagValues.TAG_SIMPLE_BEAN_DEFAULTS_CLASS_NAME_SUFFIXCopyright © 2012–2014 CodeLutin. All rights reserved.