Package io.protostuff.compiler.model
Class ServiceMethod
- java.lang.Object
-
- io.protostuff.compiler.model.AbstractElement
-
- io.protostuff.compiler.model.AbstractDescriptor
-
- io.protostuff.compiler.model.ServiceMethod
-
- All Implemented Interfaces:
Descriptor,Element
public class ServiceMethod extends AbstractDescriptor
Service method node.- Author:
- Kostiantyn Shchepanovskyi
-
-
Field Summary
-
Fields inherited from class io.protostuff.compiler.model.AbstractDescriptor
name, options
-
Fields inherited from class io.protostuff.compiler.model.AbstractElement
comments, sourceCodeLocation
-
-
Constructor Summary
Constructors Constructor Description ServiceMethod(Service parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagegetArgType()StringgetArgTypeName()DescriptorTypegetDescriptorType()ServicegetParent()MessagegetReturnType()StringgetReturnTypeName()booleanisArgStream()booleanisReturnStream()voidsetArgStream(boolean argStream)voidsetArgType(Message argType)voidsetArgTypeName(String argTypeName)voidsetReturnStream(boolean returnStream)voidsetReturnType(Message returnType)voidsetReturnTypeName(String returnTypeName)StringtoString()-
Methods inherited from class io.protostuff.compiler.model.AbstractDescriptor
getName, getOptions, setName
-
Methods inherited from class io.protostuff.compiler.model.AbstractElement
addComment, getCommentLines, getComments, getSourceCodeLocation, setComments, setSourceCodeLocation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.protostuff.compiler.model.Element
getCommentLines, getComments, getSourceCodeLocation
-
-
-
-
Constructor Detail
-
ServiceMethod
public ServiceMethod(Service parent)
-
-
Method Detail
-
getParent
public Service getParent()
-
getDescriptorType
public DescriptorType getDescriptorType()
-
getArgTypeName
public String getArgTypeName()
-
setArgTypeName
public void setArgTypeName(String argTypeName)
-
getArgType
public Message getArgType()
-
setArgType
public void setArgType(Message argType)
-
getReturnTypeName
public String getReturnTypeName()
-
setReturnTypeName
public void setReturnTypeName(String returnTypeName)
-
getReturnType
public Message getReturnType()
-
setReturnType
public void setReturnType(Message returnType)
-
isArgStream
public boolean isArgStream()
-
setArgStream
public void setArgStream(boolean argStream)
-
isReturnStream
public boolean isReturnStream()
-
setReturnStream
public void setReturnStream(boolean returnStream)
-
-