|
||||||||||
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.CloseCollectionInstanceRule
public class CloseCollectionInstanceRule
Collection adding rule. This rule define how an XML element's attribute tobe mapped to an object's collection property.
Constructor Summary | |
---|---|
CloseCollectionInstanceRule(java.lang.String path,
java.lang.String methodName)
Creates a new CloseColletionInstance object. |
Method Summary | |
---|---|
java.lang.String |
getDateFormat()
Get the date format value. |
java.lang.String |
getMethodName()
Get the parent's method name used for addition. |
void |
setDateFormat(java.lang.String dateFormat)
Set the date format value |
void |
setMethodName(java.lang.String methodName)
Set the parent's method name used for addition. |
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 CloseCollectionInstanceRule(java.lang.String path, java.lang.String methodName)
path
- Path of the element. Equals to xml element name.methodName
- Method name tobe called on the parent object for addition.Method Detail |
---|
public java.lang.String getMethodName()
public void setMethodName(java.lang.String methodName)
methodName
- The methodName to set.public java.lang.String toString()
toString
in class java.lang.Object
public 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 |