Class ModelConstant
- java.lang.Object
-
- com.devonfw.cobigen.javaplugin.model.ModelConstant
-
public class ModelConstant extends 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 StringANNOTATIONSAnnotations of methods or fields, which will be represented by a mapping of the full qualified type of an annotation to its value.static StringCANONICAL_NAMEFull qualified name of the input class (String)static StringCANONICAL_TYPEFull qualified type of a field of the input class (String)static StringCLASS_OBJECTRaw class object providing any reflection interaction.static StringCOMMENTJavaDoc comment (without doclets) or possibly any other commentstatic StringEXTENDED_TYPEstatic StringFIELDSstatic StringFIELDS_DEPRECATEDDeprecated.this is the deprecated accessor for the list of Java fields named 'attributes'.static StringIMPLEMENTED_TYPESstatic StringJAVADOCJavaDoc of a method or a field (String)static StringMETHOD_ACCESSIBLE_FIELDSA list of all visible fields accessible via setter and getter methods including inherited fields.static StringMETHODSstatic StringMODEL_ROOTstatic StringNAMESimple name of the input class (String)static StringPACKAGEPackage name of the input class (String)static StringTYPEType of a field of the input class (String)static StringUTILSNode for hand-written template utils
-
Constructor Summary
Constructors Constructor Description ModelConstant()
-
-
-
Field Detail
-
UTILS
public static final String UTILS
Node for hand-written template utils- See Also:
- Constant Field Values
-
MODEL_ROOT
public static final String MODEL_ROOT
- See Also:
- Constant Field Values
-
CLASS_OBJECT
public static final String CLASS_OBJECT
Raw class object providing any reflection interaction. (Class)- See Also:
- Constant Field Values
-
PACKAGE
public static final String PACKAGE
Package name of the input class (String)- See Also:
- Constant Field Values
-
NAME
public static final String NAME
Simple name of the input class (String)- See Also:
- Constant Field Values
-
CANONICAL_NAME
public static final String CANONICAL_NAME
Full qualified name of the input class (String)- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
Type of a field of the input class (String)- See Also:
- Constant Field Values
-
EXTENDED_TYPE
public static final String EXTENDED_TYPE
- See Also:
- Constant Field Values
-
IMPLEMENTED_TYPES
public static final 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 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 String FIELDS_DEPRECATED
Deprecated.this is the deprecated accessor for the list of Java fields named 'attributes'. Please useFIELDSfor 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 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 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 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 ofANNOTATIONS(Type:Map<String,Object>)- See Also:
- Constant Field Values
-
JAVADOC
public static final String JAVADOC
JavaDoc of a method or a field (String)- See Also:
- Constant Field Values
-
COMMENT
public static final String COMMENT
JavaDoc comment (without doclets) or possibly any other comment- See Also:
- Constant Field Values
-
METHOD_ACCESSIBLE_FIELDS
public static final String METHOD_ACCESSIBLE_FIELDS
A list of all visible fields accessible via setter and getter methods including inherited fields.- See Also:
- Constant Field Values
-
-