org.apache.axis.wsdl.symbolTable

Class ElementDecl

public class ElementDecl extends ContainedEntry

Simple utility struct for holding element declarations.

This simply correlates a QName to a TypeEntry.

Author: Glen Daniels (gdaniels@apache.org) Tom Jordahl (tomj@apache.org)

Constructor Summary
ElementDecl(TypeEntry type, QName name)
Constructor ElementDecl
Method Summary
booleangetAnyElement()
Method getAnyElement
StringgetDocumentation()
Method getDocumentation
booleangetMaxOccursIsExactlyOne()
Method getMaxOccursIsExactlyOne
booleangetMaxOccursIsUnbounded()
Method getMaxOccursIsUnbounded
booleangetMinOccursIs0()
Method getMinOccursIs0
booleangetNillable()
Method getNillable
booleangetOptional()
Method getOptional
voidsetAnyElement(boolean anyElement)
Method setAnyElement
voidsetDocumentation(String documentation)
Method setDocumentation
voidsetMaxOccursIsExactlyOne(boolean exactOne)
Method setMaxOccursIsExactlyOne
voidsetMaxOccursIsUnbounded(boolean maxOccursIsUnbounded)
Method setMaxOccursIsUnbounded
voidsetMinOccursIs0(boolean minOccursIs0)
Method setMinOccursIs0
voidsetNillable(boolean nillable)
Method setNillable
voidsetOptional(boolean optional)
Method setOptional

Constructor Detail

ElementDecl

public ElementDecl(TypeEntry type, QName name)
Constructor ElementDecl

Parameters: type name

Method Detail

getAnyElement

public boolean getAnyElement()
Method getAnyElement

Returns:

getDocumentation

public String getDocumentation()
Method getDocumentation

Returns: string

getMaxOccursIsExactlyOne

public boolean getMaxOccursIsExactlyOne()
Method getMaxOccursIsExactlyOne

Returns:

getMaxOccursIsUnbounded

public boolean getMaxOccursIsUnbounded()
Method getMaxOccursIsUnbounded

Returns:

getMinOccursIs0

public boolean getMinOccursIs0()
Method getMinOccursIs0

Returns:

getNillable

public boolean getNillable()
Method getNillable

Returns:

getOptional

public boolean getOptional()
Method getOptional

Returns:

setAnyElement

public void setAnyElement(boolean anyElement)
Method setAnyElement

Parameters: anyElement

setDocumentation

public void setDocumentation(String documentation)
Method setDocumentation

Parameters: documentation

setMaxOccursIsExactlyOne

public void setMaxOccursIsExactlyOne(boolean exactOne)
Method setMaxOccursIsExactlyOne

Parameters: exactOne

setMaxOccursIsUnbounded

public void setMaxOccursIsUnbounded(boolean maxOccursIsUnbounded)
Method setMaxOccursIsUnbounded

Parameters: maxOccursIsUnbounded

setMinOccursIs0

public void setMinOccursIs0(boolean minOccursIs0)
Method setMinOccursIs0

Parameters: minOccursIs0

setNillable

public void setNillable(boolean nillable)
Method setNillable

Parameters: nillable

setOptional

public void setOptional(boolean optional)
Method setOptional

Parameters: optional

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.