Class MethodDocType
- java.lang.Object
-
- org.glassfish.jersey.server.wadl.internal.generators.resourcedoc.model.MethodDocType
-
public class MethodDocType extends java.lang.ObjectThe documentation type for methods.
Created on: Jun 12, 2008
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.Object>anyprotected java.lang.StringcommentTextprivate java.lang.StringmethodNameprotected java.lang.StringmethodSignatureprotected java.util.List<ParamDocType>paramDocprivate RequestDocTyperequestDocprivate ResponseDocTyperesponseDocprivate java.lang.StringreturnDocprivate java.lang.StringreturnTypeExample
-
Constructor Summary
Constructors Constructor Description MethodDocType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>getAny()java.lang.StringgetCommentText()Gets the value of the commentText property.java.lang.StringgetMethodName()Get the method name.java.lang.StringgetMethodSignature()Get the method signature, ornullif no method signature has been set for the method.java.util.List<ParamDocType>getParamDocs()RequestDocTypegetRequestDoc()ResponseDocTypegetResponseDoc()java.lang.StringgetReturnDoc()java.lang.StringgetReturnTypeExample()voidsetCommentText(java.lang.String value)Sets the value of the commentText property.voidsetMethodName(java.lang.String methodName)Set the method name.voidsetMethodSignature(java.lang.String methodSignature)Set the unique method signature, including method parameters, if any.voidsetRequestDoc(RequestDocType requestDoc)voidsetResponseDoc(ResponseDocType responseDoc)voidsetReturnDoc(java.lang.String returnDoc)voidsetReturnTypeExample(java.lang.String returnTypeExample)
-
-
-
Field Detail
-
methodName
private java.lang.String methodName
-
methodSignature
protected java.lang.String methodSignature
-
commentText
protected java.lang.String commentText
-
returnDoc
private java.lang.String returnDoc
-
returnTypeExample
private java.lang.String returnTypeExample
-
requestDoc
private RequestDocType requestDoc
-
responseDoc
private ResponseDocType responseDoc
-
paramDoc
protected java.util.List<ParamDocType> paramDoc
-
any
private java.util.List<java.lang.Object> any
-
-
Method Detail
-
getParamDocs
public java.util.List<ParamDocType> getParamDocs()
-
getAny
public java.util.List<java.lang.Object> getAny()
-
getMethodName
public java.lang.String getMethodName()
Get the method name.- Returns:
- the method name.
-
setMethodName
public void setMethodName(java.lang.String methodName)
Set the method name.- Parameters:
methodName- the method name to set.
-
getMethodSignature
public java.lang.String getMethodSignature()
Get the method signature, ornullif no method signature has been set for the method.This string uniquely identifies the method in case there are multiple methods in the class with the same name.
- Returns:
- unique method signature within a class.
- Since:
- 2.20
-
setMethodSignature
public void setMethodSignature(java.lang.String methodSignature)
Set the unique method signature, including method parameters, if any.- Parameters:
methodSignature- method signature string to set.- Since:
- 2.20
-
getCommentText
public java.lang.String getCommentText()
Gets the value of the commentText property.- Returns:
- the commentText
-
setCommentText
public void setCommentText(java.lang.String value)
Sets the value of the commentText property.- Parameters:
value- the commentText
-
getReturnDoc
public java.lang.String getReturnDoc()
- Returns:
- the returnDoc
-
setReturnDoc
public void setReturnDoc(java.lang.String returnDoc)
- Parameters:
returnDoc- the returnDoc to set
-
getReturnTypeExample
public java.lang.String getReturnTypeExample()
- Returns:
- the returnTypeExample
-
setReturnTypeExample
public void setReturnTypeExample(java.lang.String returnTypeExample)
- Parameters:
returnTypeExample- the returnTypeExample to set
-
getRequestDoc
public RequestDocType getRequestDoc()
- Returns:
- the requestDoc
-
setRequestDoc
public void setRequestDoc(RequestDocType requestDoc)
- Parameters:
requestDoc- the requestDoc to set
-
getResponseDoc
public ResponseDocType getResponseDoc()
- Returns:
- the responseDoc
-
setResponseDoc
public void setResponseDoc(ResponseDocType responseDoc)
- Parameters:
responseDoc- the responseDoc to set
-
-