Interface AttributePropertyInfo<T,C>

All Superinterfaces:
AnnotationSource, NonElementRef<T,C>, PropertyInfo<T,C>
All Known Subinterfaces:
RuntimeAttributePropertyInfo
All Known Implementing Classes:
CAttributePropertyInfo

public interface AttributePropertyInfo<T,C> extends PropertyInfo<T,C>, NonElementRef<T,C>
Attribute PropertyInfo.
Author:
Kohsuke Kawaguchi
  • Method Details

    • 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:
      getTarget in interface NonElementRef<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:
      getAdapter in interface PropertyInfo<T,C>
      Returns:
      null if the property is not adapted.