Package org.nuiton.eugene.java
Class BeanTransformerTagValues
- java.lang.Object
-
- org.nuiton.eugene.models.extension.tagvalue.provider.DefaultTagValueMetadatasProvider
-
- org.nuiton.eugene.java.BeanTransformerTagValues
-
- All Implemented Interfaces:
org.nuiton.eugene.models.extension.tagvalue.provider.TagValueMetadatasProvider
@Component(role=org.nuiton.eugene.models.extension.tagvalue.provider.TagValueMetadatasProvider.class, hint="bean") public class BeanTransformerTagValues extends org.nuiton.eugene.models.extension.tagvalue.provider.DefaultTagValueMetadatasProvider
Defines all tag values managed by Java templates.- Since:
- 2.5.6
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BeanTransformerTagValues.Store
-
Constructor Summary
Constructors Constructor Description BeanTransformerTagValues()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassNamePrefixTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.classNamePrefix
tag value on the given model or classifier.String
getClassNameSuffixTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.classNameSuffix
tag value on the given model or classifier.String
getDescription()
String
getHelperClassNamePrefixTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.helperClassNamePrefix
tag value on the given model or classifier.String
getHelperClassNameSuffixTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.helperClassNameSuffix
tag value on the given model or classifier.String
getHelperSuperClassTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.helperSuperClass
tag value on the given model or classifier.String
getSuperClassTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.superClass
tag value on the given model or classifier.boolean
isGenerateHelper(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.generateHelper
tag value on the given model or classifier.boolean
isGenerateHelperConstructors(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.generateHelperConstructors
tag value on the given model or classifier.boolean
isGenerateHelperFunctions(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.generateHelperFunctions
tag value on the given model or classifier.boolean
isGenerateHelperPredicates(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.generateHelperPredicates
tag value on the given model or classifier.boolean
isGenerateNotEmptyCollections(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.generateNotEmptyCollections
tag value on the given model, package or classifier.boolean
isGeneratePropertyChangeSupport(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.generatePropertyChangeSupport
tag value on the given model, package or classifier.
-
-
-
Method Detail
-
getDescription
public String getDescription()
-
getSuperClassTagValue
public String getSuperClassTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.superClass
tag value on the given model or classifier. It will first look on the model, and then in the given classifier.- Parameters:
classifier
- classifier to seekmodel
- model to seek- Returns:
- the none empty value of the found tag value or
null
if not found nor empty. - Since:
- 3.0
- See Also:
BeanTransformerTagValues.Store.superClass
-
getHelperSuperClassTagValue
public String getHelperSuperClassTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.helperSuperClass
tag value on the given model or classifier. It will first look on the model, and then in the given classifier.- Parameters:
classifier
- classifier to seekmodel
- model to seek- Returns:
- the none empty value of the found tag value or
null
if not found nor empty. - Since:
- 3.0
- See Also:
BeanTransformerTagValues.Store.helperSuperClass
-
getClassNamePrefixTagValue
public String getClassNamePrefixTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.classNamePrefix
tag value on the given model or classifier. It will first look on the model, and then in the given classifier.- Parameters:
classifier
- classifier to seekmodel
- model to seek- Returns:
- the none empty value of the found tag value or
null
if not found nor empty. - Since:
- 3.0
- See Also:
BeanTransformerTagValues.Store.classNamePrefix
-
getClassNameSuffixTagValue
public String getClassNameSuffixTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.classNameSuffix
tag value on the given model or classifier. It will first look on the model, and then in the given classifier.- Parameters:
classifier
- classifier to seekmodel
- model to seek- Returns:
- the none empty value of the found tag value or
null
if not found nor empty. - Since:
- 3.0
- See Also:
BeanTransformerTagValues.Store.classNameSuffix
-
getHelperClassNamePrefixTagValue
public String getHelperClassNamePrefixTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.helperClassNamePrefix
tag value on the given model or classifier. It will first look on the model, and then in the given classifier.- Parameters:
classifier
- classifier to seekmodel
- model to seek- Returns:
- the none empty value of the found tag value or
null
if not found nor empty. - Since:
- 3.0
- See Also:
BeanTransformerTagValues.Store.helperClassNamePrefix
-
getHelperClassNameSuffixTagValue
public String getHelperClassNameSuffixTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.helperClassNameSuffix
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 defaults
value.- Parameters:
classifier
- classifier to seekmodel
- model to seek- Returns:
- the none empty value of the found tag value or
null
if not found nor empty. - Since:
- 3.0
- See Also:
BeanTransformerTagValues.Store.helperClassNameSuffix
-
isGenerateHelper
public boolean isGenerateHelper(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.generateHelper
tag value on the given model or classifier. It will first look on the model, and then in the given classifier.- Parameters:
classifier
- classifier to seekmodel
- model to seek- Returns:
- the none empty value of the found tag value or
null
if not found nor empty. - Since:
- 3.0
- See Also:
BeanTransformerTagValues.Store.generateHelper
-
isGenerateHelperPredicates
public boolean isGenerateHelperPredicates(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.generateHelperPredicates
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 defaults
value.- Parameters:
classifier
- classifier to seekmodel
- model to seek- Returns:
- the none empty value of the found tag value or
null
if not found nor empty. - Since:
- 3.0
- See Also:
BeanTransformerTagValues.Store.generateHelperPredicates
-
isGenerateHelperFunctions
public boolean isGenerateHelperFunctions(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.generateHelperFunctions
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 defaults
value.- Parameters:
classifier
- classifier to seekmodel
- model to seek- Returns:
- the none empty value of the found tag value or
null
if not found nor empty. - Since:
- 3.0
- See Also:
BeanTransformerTagValues.Store.generateHelperFunctions
-
isGenerateHelperConstructors
public boolean isGenerateHelperConstructors(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.generateHelperConstructors
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 defaults
value.- Parameters:
classifier
- classifier to seekmodel
- model to seek- Returns:
- the none empty value of the found tag value or
null
if not found nor empty. - Since:
- 3.0
- See Also:
BeanTransformerTagValues.Store.generateHelperConstructors
-
isGeneratePropertyChangeSupport
public boolean isGeneratePropertyChangeSupport(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.generatePropertyChangeSupport
tag value on the given model, package or classifier. It will first look on the model, then and package and then in the given classifier. If no value found, then will use the default value of the tag value.- Parameters:
classifier
- classifier to seekaPackage
- package to seekmodel
- model to seek- Returns:
- the none empty value of the found tag value or
null
if not found nor empty. - Since:
- 3.0
- See Also:
BeanTransformerTagValues.Store.generatePropertyChangeSupport
-
isGenerateNotEmptyCollections
public boolean isGenerateNotEmptyCollections(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of theBeanTransformerTagValues.Store.generateNotEmptyCollections
tag value on the given model, package or classifier. It will first look on the model, then and package and then in the given classifier. If no value found, then will use the default value of the tag value.- Parameters:
classifier
- classifier to seekaPackage
- package to seekmodel
- model to seek- Returns:
- the none empty value of the found tag value or
null
if not found nor empty. - Since:
- 3.0
- See Also:
BeanTransformerTagValues.Store.generateNotEmptyCollections
-
-