org.apache.ws.jaxme.generator.types

Class UnionTypeSGImpl

public class UnionTypeSGImpl extends SimpleTypeSGImpl

Author: Jochen Wiedmann

Field Summary
static JavaQNameOBJECT_TYPE
Constructor Summary
UnionTypeSGImpl(SGFactory pFactory, SchemaSG pSchema, XSType pType, Context pClassContext, XsQName pName)

Creates a new instance of UnionTypeSG.

Method Summary
voidforAllNonNullValues(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, SGlet pSGlet)
voidforAllValues(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, SGlet pSGlet)
TypedValuegetCastFromString(SimpleTypeSG pController, String pValue)
TypedValuegetCastFromString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, Object pData)
TypedValuegetCastToString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, DirectAccessible pData)
ObjectgetEqualsCheck(SimpleTypeSG pController, JavaMethod pMethod, Object pValue1, Object pValue2)
protected TypeSG[]getMemberTypes()
JavaQNamegetRuntimeType(SimpleTypeSG pController)
UnionTypeSGgetUnionType(SimpleTypeSG pController)
booleanisCausingParseConversionEvent(SimpleTypeSG pController)
booleanisUnion(SimpleTypeSG pController)

Field Detail

OBJECT_TYPE

public static final JavaQName OBJECT_TYPE

Constructor Detail

UnionTypeSGImpl

public UnionTypeSGImpl(SGFactory pFactory, SchemaSG pSchema, XSType pType, Context pClassContext, XsQName pName)

Creates a new instance of UnionTypeSG.

Method Detail

forAllNonNullValues

public void forAllNonNullValues(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, SGlet pSGlet)

forAllValues

public void forAllValues(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, SGlet pSGlet)

getCastFromString

public TypedValue getCastFromString(SimpleTypeSG pController, String pValue)

getCastFromString

public TypedValue getCastFromString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, Object pData)

getCastToString

public TypedValue getCastToString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, DirectAccessible pData)

getEqualsCheck

public Object getEqualsCheck(SimpleTypeSG pController, JavaMethod pMethod, Object pValue1, Object pValue2)

getMemberTypes

protected TypeSG[] getMemberTypes()

getRuntimeType

public JavaQName getRuntimeType(SimpleTypeSG pController)

getUnionType

public UnionTypeSG getUnionType(SimpleTypeSG pController)

isCausingParseConversionEvent

public boolean isCausingParseConversionEvent(SimpleTypeSG pController)

isUnion

public boolean isUnion(SimpleTypeSG pController)