net.sf.jaxme.generator.sg.impl
Class MultiplePropertySG

java.lang.Object
  extended bynet.sf.jaxme.generator.sg.impl.PropertySGChainImpl
      extended bynet.sf.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, net.sf.jaxme.js.JavaMethod pMethod, net.sf.jaxme.js.DirectAccessible pElement, java.lang.Object pValue, net.sf.jaxme.js.JavaQName pType)
           
 void forAllNonNullValues(PropertySG pController, net.sf.jaxme.js.JavaMethod pMethod, net.sf.jaxme.js.DirectAccessible pElement, SGlet pSGlet)
           
 void forAllValues(PropertySG pController, net.sf.jaxme.js.JavaMethod pMethod, net.sf.jaxme.js.DirectAccessible pElement, SGlet pSGlet)
           
protected  int getMaxOccurs()
           
protected  int getMinOccurs()
           
 net.sf.jaxme.js.JavaField getXMLField(PropertySG pController, net.sf.jaxme.js.JavaSource pSource)
           
 net.sf.jaxme.js.JavaMethod getXMLGetMethod(PropertySG pController, net.sf.jaxme.js.JavaSource pSource)
           
 net.sf.jaxme.js.JavaMethod getXMLSetMethod(PropertySG pController, net.sf.jaxme.js.JavaSource pSource)
           
 boolean isMultiple()
           
 boolean isMultiple(PropertySG pController)
           
 void setValue(PropertySG pController, net.sf.jaxme.js.JavaMethod pMethod, net.sf.jaxme.js.DirectAccessible pElement, java.lang.Object pValue, net.sf.jaxme.js.JavaQName pType)
           
 
Methods inherited from class net.sf.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 net.sf.jaxme.js.JavaField getXMLField(PropertySG pController,
                                             net.sf.jaxme.js.JavaSource pSource)
                                      throws SAXException
Specified by:
getXMLField in interface PropertySGChain
Overrides:
getXMLField in class PropertySGChainImpl
Throws:
SAXException

getXMLSetMethod

public net.sf.jaxme.js.JavaMethod getXMLSetMethod(PropertySG pController,
                                                  net.sf.jaxme.js.JavaSource pSource)
                                           throws SAXException
Specified by:
getXMLSetMethod in interface PropertySGChain
Overrides:
getXMLSetMethod in class PropertySGChainImpl
Throws:
SAXException

getXMLGetMethod

public net.sf.jaxme.js.JavaMethod getXMLGetMethod(PropertySG pController,
                                                  net.sf.jaxme.js.JavaSource pSource)
                                           throws SAXException
Specified by:
getXMLGetMethod in interface PropertySGChain
Overrides:
getXMLGetMethod in class PropertySGChainImpl
Throws:
SAXException

forAllValues

public void forAllValues(PropertySG pController,
                         net.sf.jaxme.js.JavaMethod pMethod,
                         net.sf.jaxme.js.DirectAccessible pElement,
                         SGlet pSGlet)
                  throws SAXException
Specified by:
forAllValues in interface PropertySGChain
Overrides:
forAllValues in class PropertySGChainImpl
Throws:
SAXException

forAllNonNullValues

public void forAllNonNullValues(PropertySG pController,
                                net.sf.jaxme.js.JavaMethod pMethod,
                                net.sf.jaxme.js.DirectAccessible pElement,
                                SGlet pSGlet)
                         throws SAXException
Specified by:
forAllNonNullValues in interface PropertySGChain
Overrides:
forAllNonNullValues in class PropertySGChainImpl
Throws:
SAXException

setValue

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

addValue

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