Class 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
    • Constructor Detail

      • BeanTransformerTagValues

        public BeanTransformerTagValues()
    • 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 the BeanTransformerTagValues.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 seek
        model - 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 the BeanTransformerTagValues.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 seek
        model - 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 the BeanTransformerTagValues.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 seek
        model - 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 the BeanTransformerTagValues.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 seek
        model - 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 the BeanTransformerTagValues.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 seek
        model - 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 the BeanTransformerTagValues.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 default s value.
        Parameters:
        classifier - classifier to seek
        model - 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 the BeanTransformerTagValues.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 seek
        model - 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 the BeanTransformerTagValues.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 default s value.
        Parameters:
        classifier - classifier to seek
        model - 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 the BeanTransformerTagValues.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 default s value.
        Parameters:
        classifier - classifier to seek
        model - 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 the BeanTransformerTagValues.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 default s value.
        Parameters:
        classifier - classifier to seek
        model - 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 the BeanTransformerTagValues.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 seek
        aPackage - package to seek
        model - 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 the BeanTransformerTagValues.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 seek
        aPackage - package to seek
        model - 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