public class JavaTemplatesGeneratorUtil extends JavaGeneratorUtil
DEPENDENCIES_CONSTANTS, OPERATION_GETTER_BOOLEAN_PREFIX, OPERATION_GETTER_DEFAULT_PREFIXSERIAL_VERSION_UID| Constructor and Description |
|---|
JavaTemplatesGeneratorUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getBeanSuperClassTagValue(ObjectModel model,
ObjectModelClassifier classifier)
Obtain the value of the
JavaTemplatesTagValues.TAG_BEAN_SUPER_CLASS
tag value on the given model or classifier. |
static String |
getNoPCSTagValue(ObjectModel model,
ObjectModelClassifier classifier)
Obtain the value of the
JavaTemplatesTagValues.TAG_NO_PCS
tag value on the given model or classifier. |
static boolean |
hasBeanStereotype(ObjectModelClassifier classifier)
Check if the given classifier has the
JavaTemplatesStereoTypes.STEREOTYPE_BEAN stereotype. |
capitalizeJavaBeanPropertyName, cloneOperations, containsGenerics, getConstantPrefixTagValue, getDoNotGenerateBooleanGetMethods, getI18nPrefixTagValue, hasSkipStereotype, 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, 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 String getNoPCSTagValue(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_CLASSCopyright © 2012 CodeLutin. All Rights Reserved.