|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.description.FieldDesc
FieldDescs are metadata objects which control the mapping of a given Java field to/from XML.
Constructor Summary | |
FieldDesc()
|
Method Summary | |
String |
getFieldName()
Obtain the field name. |
Class |
getJavaType()
|
javax.xml.namespace.QName |
getXmlName()
Obtain the XML QName for this field |
javax.xml.namespace.QName |
getXmlType()
Returns the XML type (e.g. |
boolean |
isAttribute()
Check if this is an attribute. |
boolean |
isElement()
Check if this is an element |
boolean |
isIndexed()
|
boolean |
isMinOccursZero()
Check if this field can be omitted. |
void |
setFieldName(String fieldName)
Set the field name. |
void |
setJavaType(Class javaType)
|
void |
setMinOccursIs0(boolean minOccursIs0)
Deprecated. this functionality, which is only relevant to ElementDescs, now lives in ElementDesc and is more flexible (you can set minOccurs and maxOccurs as you please) |
void |
setXmlName(javax.xml.namespace.QName xmlName)
Set the XML QName for this field |
void |
setXmlType(javax.xml.namespace.QName xmlType)
Returns the XML type (e.g. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FieldDesc()
Method Detail |
public String getFieldName()
public void setFieldName(String fieldName)
public javax.xml.namespace.QName getXmlName()
public void setXmlName(javax.xml.namespace.QName xmlName)
public Class getJavaType()
public void setJavaType(Class javaType)
public javax.xml.namespace.QName getXmlType()
public void setXmlType(javax.xml.namespace.QName xmlType)
public boolean isElement()
public boolean isAttribute()
public boolean isIndexed()
public boolean isMinOccursZero()
public void setMinOccursIs0(boolean minOccursIs0)
minOccursIs0
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |