com.sun.xml.bind.v2.model.impl
Class AttributePropertyInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>

java.lang.Object
  extended by com.sun.xml.bind.v2.model.impl.PropertyInfoImpl<T,C,F,M>
      extended by com.sun.xml.bind.v2.model.impl.SingleTypePropertyInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>
          extended by 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>


Field Summary
 
Fields inherited from class com.sun.xml.bind.v2.model.impl.PropertyInfoImpl
parent, seed
 
Constructor Summary
AttributePropertyInfoImpl(ClassInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> parent, PropertySeed<TypeT,ClassDeclT,FieldT,MethodT> seed)
           
 
Method Summary
 QName getXmlName()
          Gets the attribute name.
 boolean isRequired()
          Returns true if this attribute is mandatory.
 PropertyKind kind()
          Gets the kind of this proeprty.
 
Methods inherited from class com.sun.xml.bind.v2.model.impl.SingleTypePropertyInfoImpl
getAccessor, getSource, getTarget, getTransducer, link, ref
 
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
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.AttributePropertyInfo
getAdapter, getTarget
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.PropertyInfo
displayName, getExpectedMimeType, getName, getSchemaType, id, inlineBinaryData, isCollection, parent, ref
 
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.AnnotationSource
hasAnnotation, readAnnotation
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.NonElementRef
getSource
 

Constructor Detail

AttributePropertyInfoImpl

AttributePropertyInfoImpl(ClassInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> parent,
                          PropertySeed<TypeT,ClassDeclT,FieldT,MethodT> seed)
Method Detail

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.