org.apache.ws.jaxme.generator.types

Class SimpleTypeSGImpl

public abstract class SimpleTypeSGImpl extends JAXBSGItem implements SimpleTypeSGChain

Author: Jochen Wiedmann

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

Creates a new instance of SimpleTypeSGImpl.

Method Summary
voidaddValidation(SimpleTypeSG pController, JavaMethod pMethod, DirectAccessible pValue)
voidgenerate(SimpleTypeSG pController)
voidgenerate(SimpleTypeSG pController, JavaSource pSource)
AtomicTypeSGgetAtomicType(SimpleTypeSG pController)
StringgetCollectionType(SimpleTypeSG pController)
FacetgetFacet(SimpleTypeSG pController, Facet.Type pType)
Facet[]getFacets(SimpleTypeSG pController)
SGFactorygetFactory(SimpleTypeSG pController)
ObjectgetInitialValue(SimpleTypeSG pController, JavaSource pSource)
ListTypeSGgetListType(SimpleTypeSG pController)
LocatorgetLocator(SimpleTypeSG pController)
SchemaSGgetSchema(SimpleTypeSG pController)
UnionTypeSGgetUnionType(SimpleTypeSG pController)
JavaMethodgetXMLSetMethod(SimpleTypeSG pController, JavaSource pSource, String pFieldName, String pParamName, String pMethodName)
protected XSTypegetXSType()
booleanhasSetMethod(SimpleTypeSG pController)
voidinit(SimpleTypeSG pController)
booleanisAtomic(SimpleTypeSG pController)
booleanisList(SimpleTypeSG pController)
booleanisNullable(SimpleTypeSG pController)
booleanisUnion(SimpleTypeSG pController)
voidsetNullable(SimpleTypeSG pController, boolean pNullable)
voidsetNullable(boolean pNullable)
Sets whether the data type is nullable.

Constructor Detail

SimpleTypeSGImpl

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

Creates a new instance of SimpleTypeSGImpl.

Method Detail

addValidation

public void addValidation(SimpleTypeSG pController, JavaMethod pMethod, DirectAccessible pValue)

generate

public void generate(SimpleTypeSG pController)

generate

public void generate(SimpleTypeSG pController, JavaSource pSource)

getAtomicType

public AtomicTypeSG getAtomicType(SimpleTypeSG pController)

getCollectionType

public String getCollectionType(SimpleTypeSG pController)

getFacet

public Facet getFacet(SimpleTypeSG pController, Facet.Type pType)

getFacets

public Facet[] getFacets(SimpleTypeSG pController)

getFactory

public SGFactory getFactory(SimpleTypeSG pController)

getInitialValue

public Object getInitialValue(SimpleTypeSG pController, JavaSource pSource)

getListType

public ListTypeSG getListType(SimpleTypeSG pController)

getLocator

public Locator getLocator(SimpleTypeSG pController)

getSchema

public SchemaSG getSchema(SimpleTypeSG pController)

getUnionType

public UnionTypeSG getUnionType(SimpleTypeSG pController)

getXMLSetMethod

public JavaMethod getXMLSetMethod(SimpleTypeSG pController, JavaSource pSource, String pFieldName, String pParamName, String pMethodName)

getXSType

protected XSType getXSType()

hasSetMethod

public boolean hasSetMethod(SimpleTypeSG pController)

init

public void init(SimpleTypeSG pController)

isAtomic

public boolean isAtomic(SimpleTypeSG pController)

isList

public boolean isList(SimpleTypeSG pController)

isNullable

public boolean isNullable(SimpleTypeSG pController)

isUnion

public boolean isUnion(SimpleTypeSG pController)

setNullable

public void setNullable(SimpleTypeSG pController, boolean pNullable)

setNullable

public void setNullable(boolean pNullable)
Sets whether the data type is nullable.