com.sun.xml.bind.v2.model.core

Interface AttributePropertyInfo<T,C>

public interface AttributePropertyInfo<T,C> extends PropertyInfo<T,C>, NonElementRef<T,C>

Attribute PropertyInfo.
Method Summary
Adapter<T,C>getAdapter()
NonElement<T,C>getTarget()
Gets the type of the attribute.
QNamegetXmlName()
Gets the attribute name.
booleanisRequired()
Returns true if this attribute is mandatory.

Method Detail

getAdapter

public Adapter<T,C> getAdapter()

getTarget

public NonElement<T,C> getTarget()
Gets the type of the attribute.

Note that when this property is a collection, this method returns the type of each item in the collection.

Returns: always non-null.

getXmlName

public QName getXmlName()
Gets the attribute name.

Returns: must be non-null.

isRequired

public boolean isRequired()
Returns true if this attribute is mandatory.