Module com.sun.xml.bind.core
Interface AttributePropertyInfo<T,C>
-
- All Superinterfaces:
AnnotationSource,NonElementRef<T,C>,PropertyInfo<T,C>
public interface AttributePropertyInfo<T,C> extends PropertyInfo<T,C>, NonElementRef<T,C>
AttributePropertyInfo.- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationSource
hasAnnotation, readAnnotation
-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.core.NonElementRef
getSource
-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.core.PropertyInfo
displayName, getExpectedMimeType, getName, getSchemaType, id, inlineBinaryData, isCollection, kind, parent, ref
-
-
-
-
Method Detail
-
getTarget
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.
- Specified by:
getTargetin interfaceNonElementRef<T,C>- Returns:
- always non-null.
-
isRequired
boolean isRequired()
Returns true if this attribute is mandatory.
-
getXmlName
QName getXmlName()
Gets the attribute name.- Returns:
- must be non-null.
-
getAdapter
Adapter<T,C> getAdapter()
- Specified by:
getAdapterin interfacePropertyInfo<T,C>- Returns:
- null if the property is not adapted.
-
-