com.sun.tools.ws.processor.model.jaxb
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.
Field Summary |
(package private) com.sun.codemodel.JType |
type
|
(package private) com.sun.tools.xjc.api.TypeAndAnnotation |
typeAnn
|
Method Summary |
void |
annotate(com.sun.codemodel.JAnnotatable typeVar)
|
String |
getName()
|
com.sun.codemodel.JType |
getType()
|
com.sun.tools.xjc.api.TypeAndAnnotation |
getTypeAnn()
|
void |
setType(com.sun.codemodel.JType type)
|
void |
setTypeAnn(com.sun.tools.xjc.api.TypeAndAnnotation typeAnn)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeAnn
com.sun.tools.xjc.api.TypeAndAnnotation typeAnn
type
com.sun.codemodel.JType type
JAXBTypeAndAnnotation
public JAXBTypeAndAnnotation(com.sun.tools.xjc.api.TypeAndAnnotation typeAnn)
JAXBTypeAndAnnotation
public JAXBTypeAndAnnotation(com.sun.codemodel.JType type)
JAXBTypeAndAnnotation
public JAXBTypeAndAnnotation(com.sun.tools.xjc.api.TypeAndAnnotation typeAnn,
com.sun.codemodel.JType type)
annotate
public void annotate(com.sun.codemodel.JAnnotatable typeVar)
getType
public com.sun.codemodel.JType getType()
getName
public String getName()
getTypeAnn
public com.sun.tools.xjc.api.TypeAndAnnotation getTypeAnn()
setTypeAnn
public void setTypeAnn(com.sun.tools.xjc.api.TypeAndAnnotation typeAnn)
setType
public void setType(com.sun.codemodel.JType type)
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.