Class JService
- java.lang.Object
-
- net.morimekta.providence.generator.format.java.utils.JService
-
public class JService extends java.lang.Object
Created by morimekta on 4/24/16.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
className()
JServiceMethod[]
declaredMethods()
Methods declared in the given service only.java.lang.String
getRequestClassRef(JServiceMethod method)
java.lang.String
getResponseClassRef(JServiceMethod method)
net.morimekta.providence.reflect.contained.CService
getService()
boolean
isDeclaredMethod(JServiceMethod ref)
JServiceMethod[]
methods()
All methods that apply for the service.java.lang.String
methodsThrows(JServiceMethod method)
-
-
-
Constructor Detail
-
JService
public JService(net.morimekta.providence.reflect.contained.CService service, JHelper helper)
-
-
Method Detail
-
className
public java.lang.String className()
-
methods
public JServiceMethod[] methods()
All methods that apply for the service.- Returns:
- The method array.
-
declaredMethods
public JServiceMethod[] declaredMethods()
Methods declared in the given service only.- Returns:
- The method array.
-
getRequestClassRef
public java.lang.String getRequestClassRef(JServiceMethod method)
-
getResponseClassRef
public java.lang.String getResponseClassRef(JServiceMethod method)
-
isDeclaredMethod
public boolean isDeclaredMethod(JServiceMethod ref)
-
methodsThrows
public java.lang.String methodsThrows(JServiceMethod method)
-
getService
public net.morimekta.providence.reflect.contained.CService getService()
-
-