|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuntimePropertyInfo
PropertyInfo
that exposes more information.
Method Summary | |
---|---|
boolean |
elementOnlyContent()
Returns true if this property has an element-only content. |
Accessor |
getAccessor()
Gets the Accessor for this property. |
Type |
getIndividualType()
Gets the type of the individual item. |
Type |
getRawType()
Gets the "raw" type of the field. |
Collection<? extends RuntimeTypeInfo> |
ref()
List of TypeInfo s that this property references. |
Methods inherited from interface com.sun.xml.bind.v2.model.core.PropertyInfo |
---|
displayName, getAdapter, getExpectedMimeType, getName, getSchemaType, id, inlineBinaryData, isCollection, kind, parent |
Methods inherited from interface com.sun.xml.bind.v2.model.annotation.AnnotationSource |
---|
hasAnnotation, readAnnotation |
Method Detail |
---|
Collection<? extends RuntimeTypeInfo> ref()
TypeInfo
s that this property references.
This allows the caller to traverse the reference graph without
getting into the details of each different property type.
ref
in interface PropertyInfo<Type,Class>
Accessor getAccessor()
Accessor
for this property.
Even for a multi-value property, this method returns an accessor to that property. IOW, the accessor works against the raw type.
This methods returns unoptimized accessor (because optimization accessors are often combined into bigger pieces, and optimization generally works better if you can look at a bigger piece, as opposed to individually optimize a smaller components)
Accessor#optimize()
boolean elementOnlyContent()
Type getRawType()
Collection<Integer>
,
this method returns Collection<Integer>
.
Type getIndividualType()
getRawType()
.
For acollection property, this is the type used to store individual value.
So if getRawType()
is Collection<Integer>
, this method will
return Integer
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |