Uses of Class
org.codehaus.modello.model.ModelField
Packages that use ModelField
Package
Description
-
Uses of ModelField in org.codehaus.modello.core.io
Methods in org.codehaus.modello.core.io with parameters of type ModelField -
Uses of ModelField in org.codehaus.modello.metadata
Methods in org.codehaus.modello.metadata with parameters of type ModelFieldModifier and TypeMethodDescriptionMetadataPlugin.getFieldMetadata
(ModelField field, Map<String, String> data) -
Uses of ModelField in org.codehaus.modello.model
Subclasses of ModelField in org.codehaus.modello.modelFields in org.codehaus.modello.model with type parameters of type ModelFieldModifier and TypeFieldDescriptionprivate Map
<String, List<ModelField>> ModelClass.fieldMap
private List
<ModelField> ModelClass.fields
Methods in org.codehaus.modello.model that return ModelFieldModifier and TypeMethodDescriptionModelClass.getField
(String type, VersionRange versionRange) ModelInterface.getField
(String type, VersionRange versionRange) abstract ModelField
ModelType.getField
(String type, VersionRange versionRange) Methods in org.codehaus.modello.model that return types with arguments of type ModelFieldModifier and TypeMethodDescriptionModelClass.getAllFields()
Returns the list of all fields in this class.ModelClass.getAllFields
(boolean withInheritedField) Returns all the fields in this class and all super classes if withInheritedField equals to true.ModelInterface.getAllFields()
Returns the list of all fields in this class.ModelInterface.getAllFields
(boolean withInheritedField) Returns all the fields in this class and all super classes if withInheritedField equals to true.abstract List
<ModelField> ModelType.getAllFields()
Returns the list of all fields in this class.abstract List
<ModelField> ModelType.getAllFields
(boolean withInheritedField) Returns all the fields in this class and all super classes if withInheritedField equals to true.ModelType.getAllFields
(Version version, boolean withInheritedField) Returns the list of all fields in this class for a specific version.ModelType.getIdentifierFields
(Version version) Methods in org.codehaus.modello.model with parameters of type ModelField -
Uses of ModelField in org.codehaus.modello.plugin
Methods in org.codehaus.modello.plugin that return types with arguments of type ModelFieldModifier and TypeMethodDescriptionprotected List
<ModelField> AbstractModelloGenerator.getFieldsForClass
(ModelClass modelClass) Return the child fields of this class.Methods in org.codehaus.modello.plugin with parameters of type ModelFieldModifier and TypeMethodDescriptionprotected boolean
AbstractModelloGenerator.isInnerAssociation
(ModelField field) -
Uses of ModelField in org.codehaus.modello.plugin.dom4j
Methods in org.codehaus.modello.plugin.dom4j with parameters of type ModelFieldModifier and TypeMethodDescriptionprivate void
Dom4jReaderGenerator.processField
(ModelField field, XmlFieldMetadata xmlFieldMetadata, boolean addElse, JSourceCode sc, String objectName, JClass jClass) Generate code to process a field represented as an XML element.private void
Dom4jWriterGenerator.processField
(ModelField field, XmlFieldMetadata xmlFieldMetadata, String uncapClassName, JSourceCode sc, ModelClass modelClass, JClass jClass) private void
Dom4jReaderGenerator.writePrimitiveField
(ModelField field, String type, String objectName, String setterName, JSourceCode sc, JClass jClass, String parentElementName, String childElementName) -
Uses of ModelField in org.codehaus.modello.plugin.java
Methods in org.codehaus.modello.plugin.java with parameters of type ModelFieldModifier and TypeMethodDescriptionprivate void
JavaModelloGenerator.createBuilderField
(JClass jClass, ModelField modelField) private JField
JavaModelloGenerator.createField
(ModelField modelField) private void
JavaModelloGenerator.createField
(JClass jClass, ModelField modelField) private JMethod
JavaModelloGenerator.createGetter
(JField field, ModelField modelField) private String
JavaModelloGenerator.createHashCodeForField
(ModelField identifier) private boolean
JavaModelloGenerator.createSetBuilderFieldToInstance
(Set<String> ctorArgs, ModelField modelField, JSourceCode sc) private JMethod
JavaModelloGenerator.createSetter
(JField field, ModelField modelField) private JMethod
JavaModelloGenerator.createSetter
(JField field, ModelField modelField, boolean isBuilderMethod) private JType
JavaModelloGenerator.getDesiredType
(ModelField modelField, boolean useTo) protected String
AbstractJavaModelloGenerator.getJavaDefaultValue
(ModelField modelField) protected String
AbstractJavaModelloGenerator.getValueChecker
(String type, String value, ModelField field) -
Uses of ModelField in org.codehaus.modello.plugin.java.metadata
Methods in org.codehaus.modello.plugin.java.metadata with parameters of type ModelFieldModifier and TypeMethodDescriptionJavaMetadataPlugin.getFieldMetadata
(ModelField field, Map<String, String> data) -
Uses of ModelField in org.codehaus.modello.plugin.model
Methods in org.codehaus.modello.plugin.model with parameters of type ModelFieldModifier and TypeMethodDescriptionModelMetadataPlugin.getFieldMetadata
(ModelField field, Map<String, String> data) -
Uses of ModelField in org.codehaus.modello.plugin.stax
Subclasses of ModelField in org.codehaus.modello.plugin.staxMethods in org.codehaus.modello.plugin.stax that return ModelFieldModifier and TypeMethodDescriptionprotected ModelField
AbstractStaxGenerator.getReferenceIdentifierField
(ModelAssociation association) Methods in org.codehaus.modello.plugin.stax with parameters of type ModelFieldModifier and TypeMethodDescriptionprivate static void
StaxReaderGenerator.addCodeToAddReferences
(ModelAssociation association, JClass jClass, JSourceCode sc, ModelField referenceIdentifierField, String referredFromClass) private String
StaxWriterGenerator.getFieldValue
(String uncapClassName, ModelField field) private void
StaxReaderGenerator.processField
(ModelField field, XmlFieldMetadata xmlFieldMetadata, boolean addElse, JSourceCode sc, String objectName, boolean rootElement, JClass jClass) Generate code to process a field represented as an XML element.private void
StaxWriterGenerator.writeElementAttribute
(JSourceCode sc, ModelField referenceIdentifierField, String value) private static void
StaxReaderGenerator.writeFieldVersionGetMethod
(ModelField field, JClass jClass) private void
StaxReaderGenerator.writePrimitiveField
(ModelField field, String type, String objectName, String setterName, JSourceCode sc) Write code to set a primitive field with a value got from the parser, with appropriate default value, trimming and required check logic. -
Uses of ModelField in org.codehaus.modello.plugin.velocity
Methods in org.codehaus.modello.plugin.velocity that return types with arguments of type ModelFieldModifier and TypeMethodDescriptionHelper.xmlFields
(ModelClass modelClass) Returns a list of allModelField
for a givenModelClass
.Methods in org.codehaus.modello.plugin.velocity with parameters of type ModelFieldModifier and TypeMethodDescriptionboolean
Helper.isFlatItems
(ModelField field) Checks if the givenModelField
is a flat item.Helper.xmAssociationMetadata
(ModelField field) Returns theXmlAssociationMetadata
for the givenModelField
.Helper.xmlFieldMetadata
(ModelField field) Returns theXmlFieldMetadata
for the givenModelField
. -
Uses of ModelField in org.codehaus.modello.plugin.xdoc
Method parameters in org.codehaus.modello.plugin.xdoc with type arguments of type ModelFieldModifier and TypeMethodDescriptionprivate void
XdocGenerator.writeFieldsTable
(org.codehaus.plexus.util.xml.XMLWriter w, List<ModelField> fields, boolean elementFields) Write a table containing model fields description. -
Uses of ModelField in org.codehaus.modello.plugin.xdoc.metadata
Methods in org.codehaus.modello.plugin.xdoc.metadata with parameters of type ModelFieldModifier and TypeMethodDescriptionXdocMetadataPlugin.getFieldMetadata
(ModelField field, Map<String, String> data) -
Uses of ModelField in org.codehaus.modello.plugin.xpp3
Methods in org.codehaus.modello.plugin.xpp3 that return ModelFieldModifier and TypeMethodDescriptionprivate ModelField
Xpp3ReaderGenerator.writeClassAttributesParser
(List<ModelField> modelFields, String objectName, boolean rootElement, JSourceCode sc, JClass jClass) Methods in org.codehaus.modello.plugin.xpp3 with parameters of type ModelFieldModifier and TypeMethodDescriptionprivate void
Xpp3ReaderGenerator.processField
(ModelField field, XmlFieldMetadata xmlFieldMetadata, boolean addElse, JSourceCode sc, String objectName, JClass jClass) Generate code to process a field represented as an XML element.private void
Xpp3ReaderGenerator.writeNewSetLocation
(ModelField field, String objectName, String trackerVariable, JSourceCode sc) private void
Xpp3ReaderGenerator.writePrimitiveField
(ModelField field, String type, String objectName, String locatorName, String locationKey, String setterName, JSourceCode sc) Method parameters in org.codehaus.modello.plugin.xpp3 with type arguments of type ModelFieldModifier and TypeMethodDescriptionprivate ModelField
Xpp3ReaderGenerator.writeClassAttributesParser
(List<ModelField> modelFields, String objectName, boolean rootElement, JSourceCode sc, JClass jClass) -
Uses of ModelField in org.codehaus.modello.plugin.xsd
Methods in org.codehaus.modello.plugin.xsd with parameters of type ModelFieldModifier and TypeMethodDescriptionprivate static void
XsdGenerator.writeFieldDocumentation
(org.codehaus.plexus.util.xml.XMLWriter w, ModelField field) private void
XsdGenerator.writeListElement
(org.codehaus.plexus.util.xml.XMLWriter w, XmlFieldMetadata xmlFieldMetadata, XmlAssociationMetadata xmlAssociationMetadata, ModelField field, String type) -
Uses of ModelField in org.codehaus.modello.plugin.xsd.metadata
Methods in org.codehaus.modello.plugin.xsd.metadata with parameters of type ModelFieldModifier and TypeMethodDescriptionXsdMetadataPlugin.getFieldMetadata
(ModelField field, Map<String, String> data) -
Uses of ModelField in org.codehaus.modello.plugins.xml
Methods in org.codehaus.modello.plugins.xml that return ModelFieldModifier and TypeMethodDescriptionprotected ModelField
AbstractXmlGenerator.getContentField
(List<ModelField> modelFields) Get the field which type isContent
if any.protected ModelField
AbstractXmlJavaGenerator.getContentField
(List<ModelField> modelFields) Get the field which type isContent
if any.(package private) static ModelField
XmlModelHelpers.getContentField
(List<ModelField> modelFields) Get the field which type isContent
if any.Methods in org.codehaus.modello.plugins.xml that return types with arguments of type ModelFieldModifier and TypeMethodDescriptionprotected List
<ModelField> AbstractXmlGenerator.getFieldsForXml
(ModelClass modelClass, Version version) Return the XML fields of this class, with proper XML order and no XML transient fields.protected List
<ModelField> AbstractXmlJavaGenerator.getFieldsForXml
(ModelClass modelClass, Version version) Return the XML fields of this class, with proper XML order and no XML transient fields.(package private) static List
<ModelField> XmlModelHelpers.getFieldsForXml
(ModelClass modelClass, Version version) Return the XML fields of this class, with proper XML order and no XML transient fields.protected List
<ModelField> AbstractXmlGenerator.getXmlAttributeFields
(List<ModelField> modelFields) Gets all fields that are not marked as XML attribute.(package private) static List
<ModelField> XmlModelHelpers.getXmlAttributeFields
(List<ModelField> modelFields) Gets all fields that are not marked as XML attribute.Methods in org.codehaus.modello.plugins.xml with parameters of type ModelFieldModifier and TypeMethodDescriptionprotected String
AbstractXmlGenerator.resolveTagName
(ModelField modelField, XmlFieldMetadata xmlFieldMetadata) Resolve XML tag name for a field.protected String
AbstractXmlJavaGenerator.resolveTagName
(ModelField modelField, XmlFieldMetadata xmlFieldMetadata) Resolve XML tag name for a field.(package private) static String
XmlModelHelpers.resolveTagName
(ModelField modelField, XmlFieldMetadata xmlFieldMetadata) Resolve XML tag name for a field.Method parameters in org.codehaus.modello.plugins.xml with type arguments of type ModelFieldModifier and TypeMethodDescriptionprotected ModelField
AbstractXmlGenerator.getContentField
(List<ModelField> modelFields) Get the field which type isContent
if any.protected ModelField
AbstractXmlJavaGenerator.getContentField
(List<ModelField> modelFields) Get the field which type isContent
if any.(package private) static ModelField
XmlModelHelpers.getContentField
(List<ModelField> modelFields) Get the field which type isContent
if any.protected List
<ModelField> AbstractXmlGenerator.getXmlAttributeFields
(List<ModelField> modelFields) Gets all fields that are not marked as XML attribute.(package private) static List
<ModelField> XmlModelHelpers.getXmlAttributeFields
(List<ModelField> modelFields) Gets all fields that are not marked as XML attribute.protected boolean
AbstractXmlGenerator.hasContentField
(List<ModelField> modelFields) -
Uses of ModelField in org.codehaus.modello.plugins.xml.metadata
Methods in org.codehaus.modello.plugins.xml.metadata with parameters of type ModelFieldModifier and TypeMethodDescriptionXmlMetadataPlugin.getFieldMetadata
(ModelField field, Map<String, String> data)