com.sun.xml.bind.v2.model.impl
Class AttributePropertyInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
java.lang.Object
com.sun.xml.bind.v2.model.impl.PropertyInfoImpl<T,C,F,M>
com.sun.xml.bind.v2.model.impl.SingleTypePropertyInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
com.sun.xml.bind.v2.model.impl.AttributePropertyInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
- All Implemented Interfaces:
- AnnotationSource, Locatable, AttributePropertyInfo<TypeT,ClassDeclT>, NonElementRef<TypeT,ClassDeclT>, PropertyInfo<TypeT,ClassDeclT>, Comparable<PropertyInfoImpl>
- Direct Known Subclasses:
- RuntimeAttributePropertyInfoImpl
class AttributePropertyInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
- extends SingleTypePropertyInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
- implements AttributePropertyInfo<TypeT,ClassDeclT>
Methods inherited from class com.sun.xml.bind.v2.model.impl.PropertyInfoImpl |
calcXmlName, calcXmlName, compareTo, displayName, getAdapter, getExpectedMimeType, getIndividualType, getLocation, getName, getRawType, getSchemaType, getUpstream, hasAnnotation, id, inlineBinaryData, isCollection, nav, parent, readAnnotation, reader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributePropertyInfoImpl
AttributePropertyInfoImpl(ClassInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> parent,
PropertySeed<TypeT,ClassDeclT,FieldT,MethodT> seed)
isRequired
public boolean isRequired()
- Description copied from interface:
AttributePropertyInfo
- Returns true if this attribute is mandatory.
- Specified by:
isRequired
in interface AttributePropertyInfo<TypeT,ClassDeclT>
getXmlName
public final QName getXmlName()
- Description copied from interface:
AttributePropertyInfo
- Gets the attribute name.
- Specified by:
getXmlName
in interface AttributePropertyInfo<TypeT,ClassDeclT>
- Returns:
- must be non-null.
kind
public final PropertyKind kind()
- Description copied from interface:
PropertyInfo
- Gets the kind of this proeprty.
- Specified by:
kind
in interface PropertyInfo<TypeT,ClassDeclT>
- Returns:
- always non-null.