Uses of Class
org.codehaus.modello.model.ModelField
-
-
Uses of ModelField in org.codehaus.modello.core.io
Methods in org.codehaus.modello.core.io with parameters of type ModelField Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
ModelReader. getAttributesForField(ModelField modelField)
-
Uses of ModelField in org.codehaus.modello.metadata
Methods in org.codehaus.modello.metadata with parameters of type ModelField Modifier and Type Method Description FieldMetadata
MetadataPlugin. getFieldMetadata(ModelField field, java.util.Map<java.lang.String,java.lang.String> data)
-
Uses of ModelField in org.codehaus.modello.model
Subclasses of ModelField in org.codehaus.modello.model Modifier and Type Class Description class
ModelAssociation
Fields in org.codehaus.modello.model with type parameters of type ModelField Modifier and Type Field Description private java.util.Map<java.lang.String,java.util.List<ModelField>>
ModelClass. fieldMap
private java.util.List<ModelField>
ModelClass. fields
Methods in org.codehaus.modello.model that return ModelField Modifier and Type Method Description ModelField
ModelClass. getField(java.lang.String type, VersionRange versionRange)
ModelField
ModelInterface. getField(java.lang.String type, VersionRange versionRange)
ModelField
ModelType. getField(java.lang.String type, Version version)
abstract ModelField
ModelType. getField(java.lang.String type, VersionRange versionRange)
Methods in org.codehaus.modello.model that return types with arguments of type ModelField Modifier and Type Method Description java.util.List<ModelField>
ModelClass. getAllFields()
Returns the list of all fields in this class.java.util.List<ModelField>
ModelClass. getAllFields(boolean withInheritedField)
Returns all the fields in this class and all super classes if withInheritedField equals to true.java.util.List<ModelField>
ModelInterface. getAllFields()
Returns the list of all fields in this class.java.util.List<ModelField>
ModelInterface. getAllFields(boolean withInheritedField)
Returns all the fields in this class and all super classes if withInheritedField equals to true.abstract java.util.List<ModelField>
ModelType. getAllFields()
Returns the list of all fields in this class.abstract java.util.List<ModelField>
ModelType. getAllFields(boolean withInheritedField)
Returns all the fields in this class and all super classes if withInheritedField equals to true.java.util.List<ModelField>
ModelType. getAllFields(Version version, boolean withInheritedField)
java.util.List<ModelField>
ModelType. getFields(Version version)
Returns the list of all fields in this class for a specific version.java.util.List<ModelField>
ModelType. getIdentifierFields(Version version)
Methods in org.codehaus.modello.model with parameters of type ModelField Modifier and Type Method Description void
ModelClass. addField(ModelField modelField)
-
Uses of ModelField in org.codehaus.modello.plugin
Methods in org.codehaus.modello.plugin that return types with arguments of type ModelField Modifier and Type Method Description protected java.util.List<ModelField>
AbstractModelloGenerator. getFieldsForClass(ModelClass modelClass)
Return the child fields of this class.Methods in org.codehaus.modello.plugin with parameters of type ModelField Modifier and Type Method Description protected 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 ModelField Modifier and Type Method Description private void
Dom4jReaderGenerator. processField(ModelField field, XmlFieldMetadata xmlFieldMetadata, boolean addElse, JSourceCode sc, java.lang.String objectName, JClass jClass)
Generate code to process a field represented as an XML element.private void
Dom4jWriterGenerator. processField(ModelField field, XmlFieldMetadata xmlFieldMetadata, java.lang.String uncapClassName, JSourceCode sc, ModelClass modelClass, JClass jClass)
private void
Dom4jReaderGenerator. writePrimitiveField(ModelField field, java.lang.String type, java.lang.String objectName, java.lang.String setterName, JSourceCode sc, JClass jClass, java.lang.String parentElementName, java.lang.String childElementName)
-
Uses of ModelField in org.codehaus.modello.plugin.java
Methods in org.codehaus.modello.plugin.java with parameters of type ModelField Modifier and Type Method Description private 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 java.lang.String
JavaModelloGenerator. createHashCodeForField(ModelField identifier)
private boolean
JavaModelloGenerator. createSetBuilderFieldToInstance(java.util.Set<java.lang.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 java.lang.String
AbstractJavaModelloGenerator. getJavaDefaultValue(ModelField modelField)
protected java.lang.String
AbstractJavaModelloGenerator. getValueChecker(java.lang.String type, java.lang.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 ModelField Modifier and Type Method Description FieldMetadata
JavaMetadataPlugin. getFieldMetadata(ModelField field, java.util.Map<java.lang.String,java.lang.String> data)
-
Uses of ModelField in org.codehaus.modello.plugin.jdom
Methods in org.codehaus.modello.plugin.jdom with parameters of type ModelField Modifier and Type Method Description private java.lang.String
JDOMWriterGenerator. getJdomValueChecker(java.lang.String type, java.lang.String value, ModelField field)
-
Uses of ModelField in org.codehaus.modello.plugin.model
Methods in org.codehaus.modello.plugin.model with parameters of type ModelField Modifier and Type Method Description FieldMetadata
ModelMetadataPlugin. getFieldMetadata(ModelField field, java.util.Map<java.lang.String,java.lang.String> data)
-
Uses of ModelField in org.codehaus.modello.plugin.stax
Subclasses of ModelField in org.codehaus.modello.plugin.stax Modifier and Type Class Description class
DummyIdModelField
Methods in org.codehaus.modello.plugin.stax that return ModelField Modifier and Type Method Description protected ModelField
AbstractStaxGenerator. getReferenceIdentifierField(ModelAssociation association)
Methods in org.codehaus.modello.plugin.stax with parameters of type ModelField Modifier and Type Method Description private static void
StaxReaderGenerator. addCodeToAddReferences(ModelAssociation association, JClass jClass, JSourceCode sc, ModelField referenceIdentifierField, java.lang.String referredFromClass)
private java.lang.String
StaxWriterGenerator. getFieldValue(java.lang.String uncapClassName, ModelField field)
private void
StaxReaderGenerator. processField(ModelField field, XmlFieldMetadata xmlFieldMetadata, boolean addElse, JSourceCode sc, java.lang.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, java.lang.String value)
private static void
StaxReaderGenerator. writeFieldVersionGetMethod(ModelField field, JClass jClass)
private void
StaxReaderGenerator. writePrimitiveField(ModelField field, java.lang.String type, java.lang.String objectName, java.lang.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.xdoc
Method parameters in org.codehaus.modello.plugin.xdoc with type arguments of type ModelField Modifier and Type Method Description private void
XdocGenerator. writeFieldsTable(org.codehaus.plexus.util.xml.XMLWriter w, java.util.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 ModelField Modifier and Type Method Description FieldMetadata
XdocMetadataPlugin. getFieldMetadata(ModelField field, java.util.Map<java.lang.String,java.lang.String> data)
-
Uses of ModelField in org.codehaus.modello.plugin.xpp3
Methods in org.codehaus.modello.plugin.xpp3 that return ModelField Modifier and Type Method Description private ModelField
Xpp3ReaderGenerator. writeClassAttributesParser(java.util.List<ModelField> modelFields, java.lang.String objectName, boolean rootElement, JSourceCode sc, JClass jClass)
Methods in org.codehaus.modello.plugin.xpp3 with parameters of type ModelField Modifier and Type Method Description private void
Xpp3ReaderGenerator. processField(ModelField field, XmlFieldMetadata xmlFieldMetadata, boolean addElse, JSourceCode sc, java.lang.String objectName, JClass jClass)
Generate code to process a field represented as an XML element.private void
Xpp3ReaderGenerator. writeNewSetLocation(ModelField field, java.lang.String objectName, java.lang.String trackerVariable, JSourceCode sc)
private void
Xpp3ReaderGenerator. writePrimitiveField(ModelField field, java.lang.String type, java.lang.String objectName, java.lang.String locatorName, java.lang.String locationKey, java.lang.String setterName, JSourceCode sc)
Method parameters in org.codehaus.modello.plugin.xpp3 with type arguments of type ModelField Modifier and Type Method Description private ModelField
Xpp3ReaderGenerator. writeClassAttributesParser(java.util.List<ModelField> modelFields, java.lang.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 ModelField Modifier and Type Method Description private 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, java.lang.String type)
-
Uses of ModelField in org.codehaus.modello.plugin.xsd.metadata
Methods in org.codehaus.modello.plugin.xsd.metadata with parameters of type ModelField Modifier and Type Method Description FieldMetadata
XsdMetadataPlugin. getFieldMetadata(ModelField field, java.util.Map<java.lang.String,java.lang.String> data)
-
Uses of ModelField in org.codehaus.modello.plugins.xml
Methods in org.codehaus.modello.plugins.xml that return ModelField Modifier and Type Method Description protected ModelField
AbstractXmlGenerator. getContentField(java.util.List<ModelField> modelFields)
Get the field which type isContent
if any.protected ModelField
AbstractXmlJavaGenerator. getContentField(java.util.List<ModelField> modelFields)
Get the field which type isContent
if any.(package private) static ModelField
XmlModelHelpers. getContentField(java.util.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 ModelField Modifier and Type Method Description protected java.util.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 java.util.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 java.util.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 java.util.List<ModelField>
AbstractXmlGenerator. getXmlAttributeFields(java.util.List<ModelField> modelFields)
Gets all fields that are not marked as XML attribute.(package private) static java.util.List<ModelField>
XmlModelHelpers. getXmlAttributeFields(java.util.List<ModelField> modelFields)
Gets all fields that are not marked as XML attribute.Methods in org.codehaus.modello.plugins.xml with parameters of type ModelField Modifier and Type Method Description protected java.lang.String
AbstractXmlGenerator. resolveTagName(ModelField modelField, XmlFieldMetadata xmlFieldMetadata)
Resolve XML tag name for a field.protected java.lang.String
AbstractXmlJavaGenerator. resolveTagName(ModelField modelField, XmlFieldMetadata xmlFieldMetadata)
Resolve XML tag name for a field.(package private) static java.lang.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 ModelField Modifier and Type Method Description protected ModelField
AbstractXmlGenerator. getContentField(java.util.List<ModelField> modelFields)
Get the field which type isContent
if any.protected ModelField
AbstractXmlJavaGenerator. getContentField(java.util.List<ModelField> modelFields)
Get the field which type isContent
if any.(package private) static ModelField
XmlModelHelpers. getContentField(java.util.List<ModelField> modelFields)
Get the field which type isContent
if any.protected java.util.List<ModelField>
AbstractXmlGenerator. getXmlAttributeFields(java.util.List<ModelField> modelFields)
Gets all fields that are not marked as XML attribute.(package private) static java.util.List<ModelField>
XmlModelHelpers. getXmlAttributeFields(java.util.List<ModelField> modelFields)
Gets all fields that are not marked as XML attribute.protected boolean
AbstractXmlGenerator. hasContentField(java.util.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 ModelField Modifier and Type Method Description FieldMetadata
XmlMetadataPlugin. getFieldMetadata(ModelField field, java.util.Map<java.lang.String,java.lang.String> data)
-