public final class TypeInfo extends Object
Subject to change without notice.
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
TypeInfo(QName tagName,
Type type,
Annotation... annotations) |
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
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()
|
String |
toString() |
public final QName tagName
public Type type
public final Annotation[] annotations
public TypeInfo(QName tagName, Type type, Annotation... annotations)
public <A extends Annotation> A get(Class<A> annotationType)
public TypeInfo toItemType()
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 TypeInfo getItemType()
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.