|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibatis.db.sqlmap.ParameterMap
public class ParameterMap
The ParameterMap object is used to define the mapping between a MappedStatement and a bean. The properties are mapped by the order that they appear in this object (which is the order that they appear in the xml file that defines it).
Field Summary | |
---|---|
private java.util.Map |
mappings
|
private java.lang.String |
name
|
private java.util.List |
propertyNames
|
Constructor Summary | |
---|---|
ParameterMap()
Default constructor |
Method Summary | |
---|---|
void |
addParameterMapping(ParameterMapping parameterMapping)
|
int |
getCountOfPropertyMappings()
Getter for the number of property mappings defined by this ParameterMap |
java.lang.String |
getName()
Getter for the name property |
ParameterMapping |
getParameterMapping(int i)
|
java.lang.String[] |
getPropertyNameArray()
Getter for propertyNames property |
void |
setName(java.lang.String name)
Setter for the name property |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String name
private java.util.List propertyNames
private java.util.Map mappings
Constructor Detail |
---|
public ParameterMap()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The new name of the objectpublic java.lang.String[] getPropertyNameArray()
public void addParameterMapping(ParameterMapping parameterMapping)
public ParameterMapping getParameterMapping(int i)
public int getCountOfPropertyMappings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |