com.abra.j2xb.beans.xmlModel
Class MoXmlGroupByElement

java.lang.Object
  extended by com.abra.j2xb.beans.xmlModel.MoXmlElement
      extended by com.abra.j2xb.beans.xmlModel.MoXmlGroupByElement

public class MoXmlGroupByElement
extends MoXmlElement

Since:
JDK1.5
Version:
1.0, May 1, 2008
Author:
Yoav Abrahami

Nested Class Summary
 class MoXmlGroupByElement.MOXmlGroupByGroupingElement
           
 
Constructor Summary
MoXmlGroupByElement(MoXmlElement parent, MoXmlSchema schema, java.lang.String groupByName, java.lang.String groupingPropertyXmlName, java.lang.String objectPropertyName, int level)
           
 
Method Summary
 MoXmlElement add(MOPropertyDescriptor propertyDescriptor, java.util.List<java.lang.String> groupPath)
           
 MoXmlElement getChildElementByPath(MOValuePropertyDescriptor valuePropertyDescriptor, java.util.List<java.lang.String> groupPath)
           
 java.util.List<MoXmlElement> getChildElements()
           
 java.lang.String getElementName()
           
 boolean isXmlOptional()
           
 void persistInstance(XmlNode targetParentNode, java.lang.Object sourceInstance)
           
 void printElement(java.io.PrintWriter pw, java.lang.String indent)
           
 void readInstance(XmlNode sourceNode, java.lang.Object targetInstance, java.util.Set<MoXmlElement> suppressElements)
           
 java.lang.String toString()
           
 
Methods inherited from class com.abra.j2xb.beans.xmlModel.MoXmlElement
getParentElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MoXmlGroupByElement

public MoXmlGroupByElement(MoXmlElement parent,
                           MoXmlSchema schema,
                           java.lang.String groupByName,
                           java.lang.String groupingPropertyXmlName,
                           java.lang.String objectPropertyName,
                           int level)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

add

public MoXmlElement add(MOPropertyDescriptor propertyDescriptor,
                        java.util.List<java.lang.String> groupPath)

getChildElementByPath

public MoXmlElement getChildElementByPath(MOValuePropertyDescriptor valuePropertyDescriptor,
                                          java.util.List<java.lang.String> groupPath)

getElementName

public java.lang.String getElementName()
Specified by:
getElementName in class MoXmlElement

printElement

public void printElement(java.io.PrintWriter pw,
                         java.lang.String indent)
Specified by:
printElement in class MoXmlElement

isXmlOptional

public boolean isXmlOptional()
Specified by:
isXmlOptional in class MoXmlElement

persistInstance

public void persistInstance(XmlNode targetParentNode,
                            java.lang.Object sourceInstance)
                     throws XmlPersistException
Specified by:
persistInstance in class MoXmlElement
Throws:
XmlPersistException

readInstance

public void readInstance(XmlNode sourceNode,
                         java.lang.Object targetInstance,
                         java.util.Set<MoXmlElement> suppressElements)
                  throws XmlPersistException
Specified by:
readInstance in class MoXmlElement
Throws:
XmlPersistException

getChildElements

public java.util.List<MoXmlElement> getChildElements()
Overrides:
getChildElements in class MoXmlElement


Copyright © 2008. All Rights Reserved.