Class JAXBTypeAndAnnotation
- java.lang.Object
-
- com.sun.tools.ws.processor.model.jaxb.JAXBTypeAndAnnotation
-
public class JAXBTypeAndAnnotation extends Object
Holds JAXB JType and TypeAndAnnotation. This provides abstration over types from JAXBMapping and Property.
-
-
Constructor Summary
Constructors Constructor Description JAXBTypeAndAnnotation(JType type)JAXBTypeAndAnnotation(TypeAndAnnotation typeAnn)JAXBTypeAndAnnotation(TypeAndAnnotation typeAnn, JType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidannotate(JAnnotatable typeVar)StringgetName()JTypegetType()TypeAndAnnotationgetTypeAnn()voidsetType(JType type)voidsetTypeAnn(TypeAndAnnotation typeAnn)
-
-
-
Constructor Detail
-
JAXBTypeAndAnnotation
public JAXBTypeAndAnnotation(TypeAndAnnotation typeAnn)
-
JAXBTypeAndAnnotation
public JAXBTypeAndAnnotation(JType type)
-
JAXBTypeAndAnnotation
public JAXBTypeAndAnnotation(TypeAndAnnotation typeAnn, JType type)
-
-
Method Detail
-
annotate
public void annotate(JAnnotatable typeVar)
-
getType
public JType getType()
-
getName
public String getName()
-
getTypeAnn
public TypeAndAnnotation getTypeAnn()
-
setTypeAnn
public void setTypeAnn(TypeAndAnnotation typeAnn)
-
setType
public void setType(JType type)
-
-