|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.spi.db.TypeInfo
public final class TypeInfo
A reference to a JAXB-bound type.
Subject to change without notice.
Field Summary | |
---|---|
Annotation[] |
annotations
The annotations associated with the reference of this type. |
QName |
tagName
The associated XML element name that the JAX-RPC uses with this type reference. |
Type |
type
The Java type that's being referenced. |
Constructor Summary | |
---|---|
TypeInfo(QName tagName,
Type type,
Annotation... annotations)
|
Method Summary | ||
---|---|---|
|
get(Class<A> annotationType)
Finds the specified annotation from the array and returns it. |
|
Type |
getGenericType()
|
|
TypeInfo |
getItemType()
|
|
TypeInfo |
getParentCollectionType()
|
|
boolean |
isGlobalElement()
|
|
boolean |
isNillable()
|
|
boolean |
isRepeatedElement()
|
|
Map<String,Object> |
properties()
|
|
void |
setGenericType(Type genericType)
|
|
void |
setGlobalElement(boolean isGlobalElement)
|
|
void |
setNillable(boolean nillable)
|
|
void |
setParentCollectionType(TypeInfo parentCollectionType)
|
|
TypeInfo |
toItemType()
Creates a TypeInfo for the item type,
if this TypeInfo represents a collection type. |
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final QName tagName
public Type type
public final Annotation[] annotations
Constructor Detail |
---|
public TypeInfo(QName tagName, Type type, Annotation... annotations)
Method Detail |
---|
public <A extends Annotation> A get(Class<A> annotationType)
public TypeInfo toItemType()
TypeInfo
for the item type,
if this TypeInfo
represents a collection type.
Otherwise returns an identical type.
public Map<String,Object> properties()
public boolean isGlobalElement()
public void setGlobalElement(boolean isGlobalElement)
public TypeInfo getParentCollectionType()
public void setParentCollectionType(TypeInfo parentCollectionType)
public boolean isRepeatedElement()
public Type getGenericType()
public void setGenericType(Type genericType)
public boolean isNillable()
public void setNillable(boolean nillable)
public String toString()
toString
in class Object
public TypeInfo getItemType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |