|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.xmlconfig.mapping.AbsMapping
org.ow2.util.xmlconfig.mapping.ClassMapping
public class ClassMapping
Defines a mapping for a given class.
| Constructor Summary | |
|---|---|
ClassMapping()
Build a default class mapping. |
|
| Method Summary | |
|---|---|
void |
addAttributeMapping(AttributeMapping attributeMapping)
Add a given attribute mapping object. |
AttributeMapping |
getAttributeMapping(java.lang.String attributeName)
Gets the attribute mapping for the given attribute name. |
java.lang.String |
getElementAttribute()
|
void |
setElementAttribute(java.lang.String elementAttribute)
Sets the name of the element attribute for this class. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class org.ow2.util.xmlconfig.mapping.AbsMapping |
|---|
getAliases, getName, setAliases, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClassMapping()
| Method Detail |
|---|
public java.lang.String getElementAttribute()
public void setElementAttribute(java.lang.String elementAttribute)
elementAttribute - the value of the attribute to map the XML element.public void addAttributeMapping(AttributeMapping attributeMapping)
attributeMapping - the given attribute.public AttributeMapping getAttributeMapping(java.lang.String attributeName)
attributeName - the given attribute name.
public java.lang.String toString()
toString in class AbsMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||