|
||||||||||
| 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.AttributeMapping
public class AttributeMapping
Defines a mapping for attributes of a class.
| Constructor Summary | |
|---|---|
AttributeMapping()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getGetter()
|
java.lang.String |
getSetter()
|
boolean |
isElement()
Is that this attribute is mapped to an XML element ? |
boolean |
isListElement()
Is that this attribute should be considered as a list ? |
boolean |
isOptional()
Is that this attribute should be considered as optional ? |
void |
setElement()
This attribute is mapped to an XML element ? |
void |
setGetter(java.lang.String getter)
Sets the getter for this attribute. |
void |
setListElement()
This attribute is considered as a List. |
void |
setOptional()
This attribute is considered optional. |
void |
setSetter(java.lang.String setter)
Sets the setter for this attribute. |
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 AttributeMapping()
| Method Detail |
|---|
public void setElement()
public boolean isElement()
public void setListElement()
public boolean isListElement()
public java.lang.String getGetter()
public void setGetter(java.lang.String getter)
getter - the given getter namepublic java.lang.String getSetter()
public void setSetter(java.lang.String setter)
setter - the given setter namepublic void setOptional()
public boolean isOptional()
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 | |||||||||