com.sun.xml.bind.v2.model.impl
Class RuntimeValuePropertyInfoImpl

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.ValuePropertyInfoImpl<Type,Class,Field,Method>
              extended by com.sun.xml.bind.v2.model.impl.RuntimeValuePropertyInfoImpl
All Implemented Interfaces:
AnnotationSource, Locatable, NonElementRef<Type,Class>, PropertyInfo<Type,Class>, ValuePropertyInfo<Type,Class>, RuntimeNonElementRef, RuntimePropertyInfo, RuntimeValuePropertyInfo, Comparable<PropertyInfoImpl>

final class RuntimeValuePropertyInfoImpl
extends ValuePropertyInfoImpl<Type,Class,Field,Method>
implements RuntimeValuePropertyInfo


Field Summary
 
Fields inherited from class com.sun.xml.bind.v2.model.impl.PropertyInfoImpl
parent, seed
 
Constructor Summary
RuntimeValuePropertyInfoImpl(RuntimeClassInfoImpl classInfo, PropertySeed<Type,Class,Field,Method> seed)
           
 
Method Summary
 boolean elementOnlyContent()
          Returns true if this property has an element-only content.
 RuntimePropertyInfo getSource()
          Gets the property which is the source of this reference.
 RuntimeNonElement getTarget()
          Target of the reference.
 void link()
          Called after all the TypeInfos are collected into the governing TypeInfoSet.
 List<? extends RuntimeNonElement> ref()
          List of TypeInfos that this property references.
 
Methods inherited from class com.sun.xml.bind.v2.model.impl.ValuePropertyInfoImpl
kind
 
Methods inherited from class com.sun.xml.bind.v2.model.impl.SingleTypePropertyInfoImpl
getAccessor, getTransducer
 
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.ValuePropertyInfo
getAdapter
 
Methods inherited from interface com.sun.xml.bind.v2.model.runtime.RuntimePropertyInfo
getAccessor, getIndividualType, getRawType
 
Methods inherited from interface com.sun.xml.bind.v2.model.core.PropertyInfo
displayName, getExpectedMimeType, getName, getSchemaType, id, inlineBinaryData, isCollection, kind, parent
 
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.AnnotationSource
hasAnnotation, readAnnotation
 
Methods inherited from interface com.sun.xml.bind.v2.model.runtime.RuntimeNonElementRef
getTransducer
 

Constructor Detail

RuntimeValuePropertyInfoImpl

RuntimeValuePropertyInfoImpl(RuntimeClassInfoImpl classInfo,
                             PropertySeed<Type,Class,Field,Method> seed)
Method Detail

elementOnlyContent

public boolean elementOnlyContent()
Description copied from interface: RuntimePropertyInfo
Returns true if this property has an element-only content. False otherwise.

Specified by:
elementOnlyContent in interface RuntimePropertyInfo

getSource

public RuntimePropertyInfo getSource()
Description copied from interface: NonElementRef
Gets the property which is the source of this reference.

Specified by:
getSource in interface NonElementRef<Type,Class>
Specified by:
getSource in interface RuntimeNonElementRef
Overrides:
getSource in class SingleTypePropertyInfoImpl<Type,Class,Field,Method>
Returns:
never null

getTarget

public RuntimeNonElement getTarget()
Description copied from interface: NonElementRef
Target of the reference.

Specified by:
getTarget in interface NonElementRef<Type,Class>
Specified by:
getTarget in interface RuntimeNonElementRef
Specified by:
getTarget in interface RuntimeValuePropertyInfo
Overrides:
getTarget in class SingleTypePropertyInfoImpl<Type,Class,Field,Method>
Returns:
never null

ref

public List<? extends RuntimeNonElement> 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.

Specified by:
ref in interface PropertyInfo<Type,Class>
Specified by:
ref in interface RuntimePropertyInfo
Overrides:
ref in class SingleTypePropertyInfoImpl<Type,Class,Field,Method>
Returns:
non-null read-only collection.

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 SingleTypePropertyInfoImpl<Type,Class,Field,Method>