org.apache.ws.jaxme.generator.sg.impl
Class MultiplePropertySG

java.lang.Object
  extended by org.apache.ws.jaxme.generator.sg.impl.PropertySGChainImpl
      extended by org.apache.ws.jaxme.generator.sg.impl.MultiplePropertySG
All Implemented Interfaces:
PropertySGChain

public class MultiplePropertySG
extends PropertySGChainImpl

1.

Author:
Jochen Wiedmann

Constructor Summary
protected MultiplePropertySG(PropertySGChain pBase, ObjectSG pObjectSG, int pMinOccurs, int pMaxOccurs)
          Creates a new instance of MultipleObjectSG.
 
Method Summary
 void addValue(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, java.lang.Object pValue, JavaQName pType)
           
 void forAllNonNullValues(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet)
           
 void forAllValues(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet)
           
protected  int getMaxOccurs()
           
protected  int getMinOccurs()
           
 JavaField getXMLField(PropertySG pController, JavaSource pSource)
           
 JavaMethod getXMLGetMethod(PropertySG pController, JavaSource pSource)
           
 JavaMethod getXMLSetMethod(PropertySG pController, JavaSource pSource)
           
 boolean isMultiple()
           
 boolean isMultiple(PropertySG pController)
           
 void setValue(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, java.lang.Object pValue, JavaQName pType)
           
 
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.PropertySGChainImpl
generate, getCollectionType, getValue, getXMLFieldName, getXMLGetMethodName, getXMLIsSetMethod, getXMLIsSetMethodName, getXMLSetMethodName, hasIsSetMethod, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiplePropertySG

protected MultiplePropertySG(PropertySGChain pBase,
                             ObjectSG pObjectSG,
                             int pMinOccurs,
                             int pMaxOccurs)

Creates a new instance of MultipleObjectSG.

Method Detail

getMinOccurs

protected int getMinOccurs()

getMaxOccurs

protected int getMaxOccurs()

isMultiple

public boolean isMultiple()

isMultiple

public boolean isMultiple(PropertySG pController)

getXMLField

public JavaField getXMLField(PropertySG pController,
                             JavaSource pSource)
                      throws org.xml.sax.SAXException
Specified by:
getXMLField in interface PropertySGChain
Overrides:
getXMLField in class PropertySGChainImpl
Throws:
org.xml.sax.SAXException

getXMLSetMethod

public JavaMethod getXMLSetMethod(PropertySG pController,
                                  JavaSource pSource)
                           throws org.xml.sax.SAXException
Specified by:
getXMLSetMethod in interface PropertySGChain
Overrides:
getXMLSetMethod in class PropertySGChainImpl
Throws:
org.xml.sax.SAXException

getXMLGetMethod

public JavaMethod getXMLGetMethod(PropertySG pController,
                                  JavaSource pSource)
                           throws org.xml.sax.SAXException
Specified by:
getXMLGetMethod in interface PropertySGChain
Overrides:
getXMLGetMethod in class PropertySGChainImpl
Throws:
org.xml.sax.SAXException

forAllValues

public void forAllValues(PropertySG pController,
                         JavaMethod pMethod,
                         DirectAccessible pElement,
                         SGlet pSGlet)
                  throws org.xml.sax.SAXException
Specified by:
forAllValues in interface PropertySGChain
Overrides:
forAllValues in class PropertySGChainImpl
Throws:
org.xml.sax.SAXException

forAllNonNullValues

public void forAllNonNullValues(PropertySG pController,
                                JavaMethod pMethod,
                                DirectAccessible pElement,
                                SGlet pSGlet)
                         throws org.xml.sax.SAXException
Specified by:
forAllNonNullValues in interface PropertySGChain
Overrides:
forAllNonNullValues in class PropertySGChainImpl
Throws:
org.xml.sax.SAXException

setValue

public void setValue(PropertySG pController,
                     JavaMethod pMethod,
                     DirectAccessible pElement,
                     java.lang.Object pValue,
                     JavaQName pType)
              throws org.xml.sax.SAXException
Specified by:
setValue in interface PropertySGChain
Overrides:
setValue in class PropertySGChainImpl
Throws:
org.xml.sax.SAXException

addValue

public void addValue(PropertySG pController,
                     JavaMethod pMethod,
                     DirectAccessible pElement,
                     java.lang.Object pValue,
                     JavaQName pType)
              throws org.xml.sax.SAXException
Specified by:
addValue in interface PropertySGChain
Overrides:
addValue in class PropertySGChainImpl
Throws:
org.xml.sax.SAXException