Apache CXF API

org.apache.cxf.tools.common.model
Class JavaParameter

java.lang.Object
  extended by org.apache.cxf.tools.common.model.JavaType
      extended by org.apache.cxf.tools.common.model.JavaParameter
All Implemented Interfaces:
JavaAnnotatable

public class JavaParameter
extends JavaType
implements JavaAnnotatable


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.tools.common.model.JavaType
JavaType.Style
 
Field Summary
 
Fields inherited from class org.apache.cxf.tools.common.model.JavaType
className, isHeader, name, packageName, simpleName, style, targetNamespace, type
 
Constructor Summary
JavaParameter()
           
JavaParameter(String n, String t, String tns)
           
 
Method Summary
 void addAnnotation(String tag, JAnnotation ann)
           
 void annotate(Annotator annotator)
           
 JAnnotation getAnnotation(String tag)
           
 Collection<JAnnotation> getAnnotations()
           
 Collection<String> getAnnotationTags()
           
 String getHolderName()
           
 JavaMethod getMethod()
           
 String getPartName()
           
 boolean isCallback()
          Get the Callback value.
 boolean isHolder()
           
 void setCallback(boolean newCallback)
          Set the Callback value.
 void setHolder(boolean b)
           
 void setHolderName(String hn)
           
 void setMethod(JavaMethod jm)
           
 void setPartName(String name)
           
 String toString()
           
 
Methods inherited from class org.apache.cxf.tools.common.model.JavaType
getClassName, getDefaultTypeValue, getDefaultValueWriter, getName, getOwner, getPackageName, getQName, getRawName, getSimpleName, getStyle, getTargetNamespace, getType, isHeader, isIN, isINOUT, isOUT, setClassName, setDefaultValueWriter, setHeader, setName, setOwner, setQName, setStyle, setTargetNamespace, setType, writeDefaultValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaParameter

public JavaParameter()

JavaParameter

public JavaParameter(String n,
                     String t,
                     String tns)
Method Detail

isHolder

public boolean isHolder()

setHolder

public void setHolder(boolean b)

getHolderName

public String getHolderName()

setHolderName

public void setHolderName(String hn)

addAnnotation

public void addAnnotation(String tag,
                          JAnnotation ann)

getAnnotation

public JAnnotation getAnnotation(String tag)

getAnnotationTags

public Collection<String> getAnnotationTags()

getAnnotations

public Collection<JAnnotation> getAnnotations()

setPartName

public void setPartName(String name)

getPartName

public String getPartName()

toString

public String toString()
Overrides:
toString in class JavaType

setMethod

public void setMethod(JavaMethod jm)

getMethod

public JavaMethod getMethod()

annotate

public void annotate(Annotator annotator)
Specified by:
annotate in interface JavaAnnotatable

isCallback

public final boolean isCallback()
Get the Callback value.

Returns:
a boolean value

setCallback

public final void setCallback(boolean newCallback)
Set the Callback value.

Parameters:
newCallback - The new Callback value.

Apache CXF API

Apache CXF