|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xanot.structure.XanotRule
org.xanot.structure.PropertyCollectionSetRule
public class PropertyCollectionSetRule
Propert Collection Setter rule. This rule define how to map sets of xml tag with same name into object collection property.
| Constructor Summary | |
|---|---|
PropertyCollectionSetRule(java.lang.String path,
java.lang.String xmlProperty,
java.lang.String methodName)
Creates a new PropertyCollectionSetRule object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDateFormat()
Get the date format value. |
java.lang.String |
getMethodName()
Get the method name tobe invoke for element addition. |
java.lang.String |
getXmlProperty()
Get the xml element tag name |
void |
setDateFormat(java.lang.String dateFormat)
Set the date format value |
void |
setMethodName(java.lang.String methodName)
Set the method name tobe invoke for element addition. |
void |
setXmlProperty(java.lang.String xmlProperty)
Set the xml element tag name |
java.lang.String |
toString()
Get string representation of this object. |
| Methods inherited from class org.xanot.structure.XanotRule |
|---|
getPath, setPath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyCollectionSetRule(java.lang.String path,
java.lang.String xmlProperty,
java.lang.String methodName)
path - Path, should be equals to the parent element's tag name.xmlProperty - the xml tag namemethodName - Method name tobe invoke for element addition.| Method Detail |
|---|
public java.lang.String getMethodName()
public void setMethodName(java.lang.String methodName)
methodName - The methodName to set.public java.lang.String getXmlProperty()
public void setXmlProperty(java.lang.String xmlProperty)
xmlProperty - The xmlProperty to set.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getDateFormat()
public void setDateFormat(java.lang.String dateFormat)
dateFormat - new date format pattern
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||