Class ModelConstant


  • public class ModelConstant
    extends java.lang.Object
    String constants of the java object model for generation. Outcome of the JavaInputReader.
    Version:
    $Revision$
    Author:
    Malte Brunnlieb
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ANNOTATIONS
      Annotations of methods or fields, which will be represented by a mapping of the full qualified type of an annotation to its value.
      static java.lang.String CANONICAL_NAME
      Full qualified name of the input class (String)
      static java.lang.String CANONICAL_TYPE
      Full qualified type of a field of the input class (String)
      static java.lang.String CLASS_OBJECT
      Raw class object providing any reflection interaction.
      static java.lang.String COMMENT
      JavaDoc comment (without doclets) or possibly any other comment
      static java.lang.String EXTENDED_TYPE
      Type of the supertype of the input class (Map<String, Object>)
      static java.lang.String FIELDS
      A list of all fields, whereas one field will be represented by a set of attribute mappings ( List< Map<String, Object>>)
      static java.lang.String FIELDS_DEPRECATED
      Deprecated.
      this is the deprecated accessor for the list of Java fields named 'attributes'.
      static java.lang.String IMPLEMENTED_TYPES
      A list of all implementedTypes (interfaces) of the input class, whereas one interface will be represented by a set of mappings ( List< Map<String, Object >>)
      static java.lang.String JAVADOC
      JavaDoc of a method or a field (String)
      static java.lang.String METHOD_ACCESSIBLE_FIELDS
      A list of all visible fields accessible via setter and getter methods including inherited fields.
      static java.lang.String METHODS
      A list of all methods, whereas one method will be represented by a set of attribute mappings ( List< Map<String, Object>>)
      static java.lang.String MODEL_ROOT
      Root element for java model (Map<String, Object>)
      static java.lang.String NAME
      Simple name of the input class (String)
      static java.lang.String PACKAGE
      Package name of the input class (String)
      static java.lang.String TYPE
      Type of a field of the input class (String)
      static java.lang.String UTILS
      Node for hand-written template utils
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelConstant()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • UTILS

        public static final java.lang.String UTILS
        Node for hand-written template utils
        See Also:
        Constant Field Values
      • MODEL_ROOT

        public static final java.lang.String MODEL_ROOT
        Root element for java model (Map<String, Object>)
        See Also:
        Constant Field Values
      • CLASS_OBJECT

        public static final java.lang.String CLASS_OBJECT
        Raw class object providing any reflection interaction. (Class)
        See Also:
        Constant Field Values
      • PACKAGE

        public static final java.lang.String PACKAGE
        Package name of the input class (String)
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Simple name of the input class (String)
        See Also:
        Constant Field Values
      • CANONICAL_NAME

        public static final java.lang.String CANONICAL_NAME
        Full qualified name of the input class (String)
        See Also:
        Constant Field Values
      • TYPE

        public static final java.lang.String TYPE
        Type of a field of the input class (String)
        See Also:
        Constant Field Values
      • EXTENDED_TYPE

        public static final java.lang.String EXTENDED_TYPE
        Type of the supertype of the input class (Map<String, Object>)
        See Also:
        Constant Field Values
      • IMPLEMENTED_TYPES

        public static final java.lang.String IMPLEMENTED_TYPES
        A list of all implementedTypes (interfaces) of the input class, whereas one interface will be represented by a set of mappings ( List< Map<String, Object >>)
        See Also:
        Constant Field Values
      • CANONICAL_TYPE

        public static final java.lang.String CANONICAL_TYPE
        Full qualified type of a field of the input class (String)
        See Also:
        Constant Field Values
      • FIELDS_DEPRECATED

        @Deprecated
        public static final java.lang.String FIELDS_DEPRECATED
        Deprecated.
        this is the deprecated accessor for the list of Java fields named 'attributes'. Please use FIELDS for new features. This accessor value for the model will be removed at the next major release.
        See Also:
        FIELDS, Constant Field Values
      • FIELDS

        public static final java.lang.String FIELDS
        A list of all fields, whereas one field will be represented by a set of attribute mappings ( List< Map<String, Object>>)
        See Also:
        Constant Field Values
      • METHODS

        public static final java.lang.String METHODS
        A list of all methods, whereas one method will be represented by a set of attribute mappings ( List< Map<String, Object>>)
        See Also:
        Constant Field Values
      • ANNOTATIONS

        public static final java.lang.String ANNOTATIONS
        Annotations of methods or fields, which will be represented by a mapping of the full qualified type of an annotation to its value. To gain template compatibility, the key will be stored with '_' instead of '.' in the full qualified annotation type. Furthermore the annotation might be recursively defined and thus be accessed using the same type of ANNOTATIONS (Type: Map<String, Object>)
        See Also:
        Constant Field Values
      • JAVADOC

        public static final java.lang.String JAVADOC
        JavaDoc of a method or a field (String)
        See Also:
        Constant Field Values
      • COMMENT

        public static final java.lang.String COMMENT
        JavaDoc comment (without doclets) or possibly any other comment
        See Also:
        Constant Field Values
      • METHOD_ACCESSIBLE_FIELDS

        public static final java.lang.String METHOD_ACCESSIBLE_FIELDS
        A list of all visible fields accessible via setter and getter methods including inherited fields.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ModelConstant

        public ModelConstant()