com.sun.xml.bind.v2.model.impl
Class SingleTypePropertyInfoImpl<T,C,F,M>

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<T,C,F,M>
All Implemented Interfaces:
AnnotationSource, Locatable, PropertyInfo<T,C>, Comparable<PropertyInfoImpl>
Direct Known Subclasses:
AttributePropertyInfoImpl, ValuePropertyInfoImpl

abstract class SingleTypePropertyInfoImpl<T,C,F,M>
extends PropertyInfoImpl<T,C,F,M>

PropertyInfoImpl that can only have one type. Specifically, AttributePropertyInfoImpl and ValuePropertyInfoImpl.


Field Summary
 
Fields inherited from class com.sun.xml.bind.v2.model.impl.PropertyInfoImpl
parent, seed
 
Constructor Summary
SingleTypePropertyInfoImpl(ClassInfoImpl<T,C,F,M> classInfo, PropertySeed<T,C,F,M> seed)
           
 
Method Summary
 Accessor getAccessor()
           
 PropertyInfo<T,C> getSource()
           
 NonElement<T,C> getTarget()
           
 Transducer getTransducer()
           
 void link()
          Called after all the TypeInfos are collected into the governing TypeInfoSet.
 List<? extends NonElement<T,C>> ref()
          List of TypeInfos that this property references.
 
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.PropertyInfo
kind
 

Constructor Detail

SingleTypePropertyInfoImpl

public SingleTypePropertyInfoImpl(ClassInfoImpl<T,C,F,M> classInfo,
                                  PropertySeed<T,C,F,M> seed)
Method Detail

ref

public List<? extends NonElement<T,C>> ref()
Description copied from interface: PropertyInfo
List of TypeInfos that this property references. This allows the caller to traverse the reference graph without getting into the details of each different property type.

Returns:
non-null read-only collection.

getTarget

public NonElement<T,C> getTarget()

getSource

public PropertyInfo<T,C> getSource()

link

public void link()
Description copied from class: PropertyInfoImpl
Called after all the TypeInfos are collected into the governing TypeInfoSet. Derived class can do additional actions to complete the model.

Overrides:
link in class PropertyInfoImpl<T,C,F,M>

getAccessor

public Accessor getAccessor()

getTransducer

public Transducer getTransducer()