Class JService
- java.lang.Object
-
- net.morimekta.providence.generator.format.java.utils.JService
-
public class JService extends java.lang.ObjectCreated by morimekta on 4/24/16.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringclassName()JServiceMethod[]declaredMethods()Methods declared in the given service only.java.lang.StringgetRequestClassRef(JServiceMethod method)java.lang.StringgetResponseClassRef(JServiceMethod method)net.morimekta.providence.reflect.contained.CServicegetService()booleanisDeclaredMethod(JServiceMethod ref)JServiceMethod[]methods()All methods that apply for the service.java.lang.StringmethodsThrows(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()
-
-