| |
|
| java.lang.Object org.ow2.easybeans.xmlconfig.mapping.AbsMapping org.ow2.easybeans.xmlconfig.mapping.ClassMapping
ClassMapping | public class ClassMapping extends AbsMapping (Code) | | Defines a mapping for a given class.
author: Florent Benoit |
Constructor Summary | |
public | ClassMapping() Build a default class mapping. |
ClassMapping | public ClassMapping()(Code) | | Build a default class mapping.
|
addAttributeMapping | public void addAttributeMapping(AttributeMapping attributeMapping)(Code) | | Add a given attribute mapping object.
Parameters: attributeMapping - the given attribute. |
getAttributeMapping | public AttributeMapping getAttributeMapping(String attributeName)(Code) | | Gets the attribute mapping for the given attribute name.
Parameters: attributeName - the given attribute name. the attribute mapping or null if not found. |
getElementAttribute | public String getElementAttribute()(Code) | | the name of the attribute to use when finding a value inside this element. |
setElementAttribute | public void setElementAttribute(String elementAttribute)(Code) | | Sets the name of the element attribute for this class.
Parameters: elementAttribute - the value of the attribute to map the XML element. |
toString | public String toString()(Code) | | Returns a string representation of the object.
string representation |
|
|
|