org.apache.cxf.aegis.type
Class TypeClassInfo
java.lang.Object
org.apache.cxf.aegis.type.TypeClassInfo
public class TypeClassInfo
- extends java.lang.Object
Object to carry information for a type, such as that from an XML mapping file.
Note that this class has a misleading name. It is used both for
type information that corresponds to a type, and also for parameters
of methods and elements of beans. When describing a top-level type,
minOccurs and maxOccurs are not meaningful. Nillable is only used for
parameters. It might be that the code could be deconfused by
using the nillable property in here for the non-parameters cases
that look at minOccurs and maxOccurs.
Historically, the code for dealing with nillable was very confused,
and so the support here is a bit ginger, until someone figures out how
to sort things out. Thus the three-valued support instead
of a plain boolean.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TypeClassInfo
public TypeClassInfo()
nonDefaultAttributes
public boolean nonDefaultAttributes()
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getAnnotations
public java.lang.Object[] getAnnotations()
setAnnotations
public void setAnnotations(java.lang.Object[] annotations)
getGenericType
public java.lang.Object getGenericType()
setGenericType
public void setGenericType(java.lang.Object genericType)
getKeyType
public java.lang.Object getKeyType()
setKeyType
public void setKeyType(java.lang.Object keyType)
getTypeClass
public java.lang.Class getTypeClass()
setTypeClass
public void setTypeClass(java.lang.Class typeClass)
getTypeName
public javax.xml.namespace.QName getTypeName()
setTypeName
public void setTypeName(javax.xml.namespace.QName name)
getType
public java.lang.Class getType()
setType
public void setType(java.lang.Class type)
getMappedName
public javax.xml.namespace.QName getMappedName()
setMappedName
public void setMappedName(javax.xml.namespace.QName mappedName)
getMaxOccurs
public long getMaxOccurs()
setMaxOccurs
public void setMaxOccurs(long maxOccurs)
getMinOccurs
public long getMinOccurs()
setMinOccurs
public void setMinOccurs(long minOccurs)
isFlat
public boolean isFlat()
setFlat
public void setFlat(boolean flat)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getValueType
public java.lang.Object getValueType()
setValueType
public void setValueType(java.lang.Object valueType)
getNillable
public java.lang.Boolean getNillable()
setNillable
public void setNillable(java.lang.Boolean nillable)
Apache CXF