org.apache.ws.jaxme.generator.types

Class PrimitiveTypeSG

public abstract class PrimitiveTypeSG extends AtomicTypeSGImpl

Author: Jochen Wiedmann

Constructor Summary
protected PrimitiveTypeSG(SGFactory pFactory, SchemaSG pSchema, XSType pType)

Creates a new instance of PrimitiveTypeSG.java.

Method Summary
voidforAllNonNullValues(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, SGlet pSGlet)
voidforAllValues(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, SGlet pSGlet)
TypedValuegetCastFromString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, Object pData)
TypedValuegetCastToString(SimpleTypeSG pController, Object pValue, DirectAccessible pData)
ObjectgetEqualsCheck(SimpleTypeSG pController, JavaMethod pMethod, Object pValue1, Object pValue2)
protected abstract JavaQNamegetObjectRuntimeType(SimpleTypeSG pController)
protected abstract JavaQNamegetPrimitiveRuntimeType(SimpleTypeSG pController)
JavaQNamegetRuntimeType(SimpleTypeSG pController)
protected booleanisUnsigned()

Constructor Detail

PrimitiveTypeSG

protected PrimitiveTypeSG(SGFactory pFactory, SchemaSG pSchema, XSType pType)

Creates a new instance of PrimitiveTypeSG.java.

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, JavaMethod pMethod, Object pValue, Object pData)

getCastToString

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

getEqualsCheck

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

getObjectRuntimeType

protected abstract JavaQName getObjectRuntimeType(SimpleTypeSG pController)

getPrimitiveRuntimeType

protected abstract JavaQName getPrimitiveRuntimeType(SimpleTypeSG pController)

getRuntimeType

public JavaQName getRuntimeType(SimpleTypeSG pController)

isUnsigned

protected boolean isUnsigned()