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

Class ElementPropertyInfoImpl<TypeT,ClassDeclT,FieldT,MethodT>

class ElementPropertyInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> extends ERPropertyInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> implements ElementPropertyInfo<TypeT,ClassDeclT>

Common ElementPropertyInfo implementation used for both APT and runtime.
Constructor Summary
ElementPropertyInfoImpl(ClassInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> parent, PropertySeed<TypeT,ClassDeclT,FieldT,MethodT> propertySeed)
Method Summary
protected TypeRefImpl<TypeT,ClassDeclT>createTypeRef(QName name, TypeT type, boolean isNillable, String defaultValue)
Used by PropertyInfoImpl to create new instances of
List<? extends TypeRefImpl<TypeT,ClassDeclT>>getTypes()
booleanisRequired()
booleanisValueList()
PropertyKindkind()
protected voidlink()
List<? extends TypeInfo<TypeT,ClassDeclT>>ref()

Constructor Detail

ElementPropertyInfoImpl

ElementPropertyInfoImpl(ClassInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> parent, PropertySeed<TypeT,ClassDeclT,FieldT,MethodT> propertySeed)

Method Detail

createTypeRef

protected TypeRefImpl<TypeT,ClassDeclT> createTypeRef(QName name, TypeT type, boolean isNillable, String defaultValue)
Used by PropertyInfoImpl to create new instances of TypeRef

getTypes

public List<? extends TypeRefImpl<TypeT,ClassDeclT>> getTypes()

isRequired

public boolean isRequired()

isValueList

public boolean isValueList()

kind

public final PropertyKind kind()

link

protected void link()

ref

public List<? extends TypeInfo<TypeT,ClassDeclT>> ref()