Top Description Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.model.impl

pack-priv abstract Class SingleTypePropertyInfoImpl<T, C, F, M>

extends PropertyInfoImpl<T, C, F, M>
Class Inheritance
Known Direct Subclasses
org.glassfish.jaxb.runtime.v2.model.impl.ValuePropertyInfoImpl, org.glassfish.jaxb.runtime.v2.model.impl.AttributePropertyInfoImpl
Imports
org.glassfish.jaxb.core.v2.model.core.ID, .NonElement, .PropertyInfo, org.glassfish.jaxb.runtime.v2.model.runtime.RuntimeNonElementRef, .RuntimePropertyInfo, org.glassfish.jaxb.core.v2.runtime.IllegalAnnotationException, org.glassfish.jaxb.runtime.v2.runtime.Transducer, org.glassfish.jaxb.runtime.v2.runtime.reflect.Accessor, jakarta.xml.bind.annotation.XmlList, java.util.Collections, .List

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

Field Summary

Modifier and TypeField and Description
private final Accessor<BeanT, ValueT>
private NonElement<T, C>
type

Computed lazily.

private Transducer<ValueT>
xducer

Lazily created.

Inherited from org.glassfish.jaxb.runtime.v2.model.impl.PropertyInfoImpl:
parentseed

Constructor Summary

AccessConstructor and Description
public
SingleTypePropertyInfoImpl(ClassInfoImpl<T, C, F, M> classInfo, PropertySeed<T, C, F, M> seed)

Method Summary

Modifier and TypeMethod and Description
public Accessor<BeanT, ValueT>
public PropertyInfo<T, C>
public NonElement<T, C>
public Transducer<ValueT>
public List<? extends NonElement<T, C>>
ref()

Implements org.glassfish.jaxb.core.v2.model.core.PropertyInfo.ref.

List of TypeInfos that this property references.

Inherited from org.glassfish.jaxb.runtime.v2.model.impl.PropertyInfoImpl:
calcXmlNamecalcXmlNamecompareTodisplayNamegetAdaptergetExpectedMimeTypegetIndividualTypegetLocationgetNamegetRawTypegetSchemaTypegetUpstreamhasAnnotationidinlineBinaryDataisCollectionnavparentreadAnnotationreader

Field Detail

accback to summary
private final Accessor<BeanT, ValueT> acc
typeback to summary
private NonElement<T, C> type

Computed lazily.

See Also
getTarget()
xducerback to summary
private Transducer<ValueT> xducer

Lazily created.

Constructor Detail

SingleTypePropertyInfoImplback to summary
public SingleTypePropertyInfoImpl(ClassInfoImpl<T, C, F, M> classInfo, PropertySeed<T, C, F, M> seed)

Method Detail

getAccessorback to summary
public Accessor<BeanT, ValueT> getAccessor()
getSourceback to summary
public PropertyInfo<T, C> getSource()
getTargetback to summary
public NonElement<T, C> getTarget()
getTransducerback to summary
public Transducer<ValueT> getTransducer()
refback to summary
public List<? extends NonElement<T, C>> ref()

Implements org.glassfish.jaxb.core.v2.model.core.PropertyInfo.ref.

Doc from org.glassfish.jaxb.core.v2.model.core.PropertyInfo.ref.

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.

Annotations
@Override