com.sun.xml.bind.v2.model.impl
Interface PropertySeed<T,C,F,M>

All Superinterfaces:
AnnotationSource, Locatable
All Known Implementing Classes:
FieldPropertySeed, GetterSetterPropertySeed, RuntimeClassInfoImpl.RuntimePropertySeed

interface PropertySeed<T,C,F,M>
extends Locatable, AnnotationSource

Exposes the core information that forms a PropertyInfo.


Method Summary
 String getName()
          The name of the property is a spec defined concept --- although it doesn't do so explicitly in anywhere.
 T getRawType()
          Gets the actual data type of the field.
 
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.Locatable
getLocation, getUpstream
 
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.AnnotationSource
hasAnnotation, readAnnotation
 

Method Detail

getName

String getName()
The name of the property is a spec defined concept --- although it doesn't do so explicitly in anywhere.

See Also:
PropertyInfo.getName()

getRawType

T getRawType()
Gets the actual data type of the field.

The data of the property is stored by using this type.

The difference between the RuntimePropertyInfo.getIndividualType() and this method is clear when the property is a multi-value property. The RuntimePropertyInfo.getIndividualType() method returns the type of the item, but this method returns the actual collection type.