|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.xmlconfig.mapping.AbsMapping
org.objectweb.easybeans.xmlconfig.mapping.ClassMapping
public class ClassMapping
Defines a mapping for a given class.
Field Summary | |
---|---|
private java.util.Map<java.lang.String,AttributeMapping> |
attributesMapping
Association between a name(or alias) and an attribute mapping. |
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 |
toString()
Returns a string representation of the object. |
Methods inherited from class org.objectweb.easybeans.xmlconfig.mapping.AbsMapping |
---|
getAlias, getName, setAlias, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.util.Map<java.lang.String,AttributeMapping> attributesMapping
Constructor Detail |
---|
public ClassMapping()
Method Detail |
---|
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 |