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
  • Constructor Details

    • BeanTransformerTagValues

      public BeanTransformerTagValues()
  • Method Details

    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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: