Package | Description |
---|---|
org.codehaus.modello.plugin.java | |
org.codehaus.modello.plugin.java.javasource |
Modifier and Type | Method and Description |
---|---|
private JField |
JavaModelloGenerator.createField(ModelField modelField) |
Modifier and Type | Method and Description |
---|---|
private JMethod |
JavaModelloGenerator.createGetter(JField field,
ModelField modelField) |
private JMethod |
JavaModelloGenerator.createSetter(JField field,
ModelField modelField) |
private JMethod |
JavaModelloGenerator.createSetter(JField field,
ModelField modelField,
boolean isBuilderMethod) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,JField> |
JClass._fields
The list of member variables (fields) of this JClass
|
private java.util.Map<java.lang.String,JField> |
JInterface.fields
The fields for this JInterface
|
Modifier and Type | Method and Description |
---|---|
JField |
JClass.getField(java.lang.String name)
Returns the member with the given name, or null if no member
was found with the given name
|
abstract JField |
JStructure.getField(java.lang.String name)
Returns the field with the given name, or null if no field
was found with the given name.
|
JField |
JInterface.getField(java.lang.String name)
Returns the field with the given name, or null if no field
was found with the given name.
|
JField[] |
JClass.getFields()
Returns an array of all the JFields of this JClass
|
abstract JField[] |
JStructure.getFields()
Returns an array of all the JFields of this JStructure
|
JField[] |
JInterface.getFields()
Returns an array of all the JFields of this JStructure
|
JField |
JClass.removeField(java.lang.String name)
Removes the field with the given name from this JClass
|
Modifier and Type | Method and Description |
---|---|
void |
JClass.addField(JField jField)
Adds the given JField to this JClass
|
abstract void |
JStructure.addField(JField jField)
Adds the given JField to this JStructure.
|
void |
JInterface.addField(JField jField)
Adds the given JField to this JStructure.
|
boolean |
JClass.removeField(JField jField)
Removes the given JField from this JClass
|