Package org.apache.axis.description
Class ElementDesc
java.lang.Object
org.apache.axis.description.FieldDesc
org.apache.axis.description.ElementDesc
- All Implemented Interfaces:
Serializable
An AttributeDesc is a FieldDesc for an Java field mapping to an
XML element
- Author:
- Glen Daniels (gdaniels@apache.org), Dominik Kacprzak (dominik@opentoolbox.com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanbooleanCheck if this field can be omitted.booleanReturns value of nillable property.voidsetArrayType(QName arrayType) voidsetItemQName(QName itemQName) voidsetMaxOccurs(int maxOccurs) voidsetMaxOccursUnbounded(boolean ubnd) voidsetMinOccurs(int minOccurs) voidsetNillable(boolean nillable) Sets value of nillable property.Methods inherited from class org.apache.axis.description.FieldDesc
getFieldName, getJavaType, getXmlName, getXmlType, isElement, isIndexed, setFieldName, setJavaType, setMinOccursIs0, setXmlName, setXmlType
-
Constructor Details
-
ElementDesc
public ElementDesc()
-
-
Method Details
-
isMinOccursZero
public boolean isMinOccursZero()Description copied from class:FieldDescCheck if this field can be omitted.- Overrides:
isMinOccursZeroin classFieldDesc
-
getMinOccurs
public int getMinOccurs() -
setMinOccurs
public void setMinOccurs(int minOccurs) -
getMaxOccurs
public int getMaxOccurs() -
setMaxOccurs
public void setMaxOccurs(int maxOccurs) -
setMaxOccursUnbounded
public void setMaxOccursUnbounded(boolean ubnd) -
isMaxOccursUnbounded
public boolean isMaxOccursUnbounded() -
isNillable
public boolean isNillable()Returns value of nillable property.- Returns:
-
setNillable
public void setNillable(boolean nillable) Sets value of nillable property. Default:false.- Parameters:
nillable-
-
getArrayType
-
setArrayType
-
getItemQName
-
setItemQName
-