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

Class JAXBPropertySG

public class JAXBPropertySG extends Object implements PropertySGChain

Author: Jochen Wiedmann Ias

Constructor Summary
protected JAXBPropertySG(String pDefaultPropertyName, SchemaSG pSchema, XSObject pXSObject, String pDefaultValue, TypeSG pTypeSG)
protected JAXBPropertySG(AttributeSG pAttribute, XSAttribute pXSAttribute)
protected JAXBPropertySG(ObjectSG pElement, XSElement pXSElement)
protected JAXBPropertySG(TypeSG pComplexType, XSType pType)
Method Summary
voidaddValue(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, TypedValue pValue, JavaQName pType)
voidforAllNonNullValues(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet)
voidforAllValues(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet)
voidgenerate(PropertySG pController, JavaSource pSource)
StringgetCollectionType(PropertySG pController)
StringgetPropertyName(PropertySG pController)
ObjectgetValue(PropertySG pController, DirectAccessible pElement)
JavaFieldgetXMLField(PropertySG pController, JavaSource pSource)
StringgetXMLFieldName(PropertySG pController)
JavaMethodgetXMLGetMethod(PropertySG pController, JavaSource pSource)
StringgetXMLGetMethodName(PropertySG pController)
JavaMethodgetXMLIsSetMethod(PropertySG pController, JavaSource pSource)
StringgetXMLIsSetMethodName(PropertySG pController)
JavaMethodgetXMLSetMethod(PropertySG pController, JavaSource pSource)
StringgetXMLSetMethodName(PropertySG pController)
booleanhasIsSetMethod(PropertySG pController)
voidinit(PropertySG pController)
voidsetValue(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, Object pValue, JavaQName pType)

Constructor Detail

JAXBPropertySG

protected JAXBPropertySG(String pDefaultPropertyName, SchemaSG pSchema, XSObject pXSObject, String pDefaultValue, TypeSG pTypeSG)

JAXBPropertySG

protected JAXBPropertySG(AttributeSG pAttribute, XSAttribute pXSAttribute)

JAXBPropertySG

protected JAXBPropertySG(ObjectSG pElement, XSElement pXSElement)

JAXBPropertySG

protected JAXBPropertySG(TypeSG pComplexType, XSType pType)

Method Detail

addValue

public void addValue(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, TypedValue pValue, JavaQName pType)

forAllNonNullValues

public void forAllNonNullValues(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet)

forAllValues

public void forAllValues(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet)

generate

public void generate(PropertySG pController, JavaSource pSource)

getCollectionType

public String getCollectionType(PropertySG pController)

getPropertyName

public String getPropertyName(PropertySG pController)

getValue

public Object getValue(PropertySG pController, DirectAccessible pElement)

getXMLField

public JavaField getXMLField(PropertySG pController, JavaSource pSource)

getXMLFieldName

public String getXMLFieldName(PropertySG pController)

getXMLGetMethod

public JavaMethod getXMLGetMethod(PropertySG pController, JavaSource pSource)

getXMLGetMethodName

public String getXMLGetMethodName(PropertySG pController)

getXMLIsSetMethod

public JavaMethod getXMLIsSetMethod(PropertySG pController, JavaSource pSource)

getXMLIsSetMethodName

public String getXMLIsSetMethodName(PropertySG pController)

getXMLSetMethod

public JavaMethod getXMLSetMethod(PropertySG pController, JavaSource pSource)

getXMLSetMethodName

public String getXMLSetMethodName(PropertySG pController)

hasIsSetMethod

public boolean hasIsSetMethod(PropertySG pController)

init

public void init(PropertySG pController)

setValue

public void setValue(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, Object pValue, JavaQName pType)