public class CService extends PService implements CAnnotatedDescriptor
| Constructor and Description |
|---|
CService(String documentation,
String programName,
String name,
PServiceProvider extendsService,
Collection<CServiceMethod> methods,
Map<String,String> annotations) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAnnotations()
Get set of available annotations.
|
String |
getAnnotationValue(String name)
Get the given annotation value.
|
String |
getDocumentation()
The type comment is the last block of comment written before the type
declaration.
|
CService |
getExtendsService() |
CServiceMethod |
getMethod(String name) |
Collection<CServiceMethod> |
getMethods() |
Collection<CServiceMethod> |
getMethodsIncludingExtended()
Get all methods including methods declared in extended services.
|
boolean |
hasAnnotation(String name)
Get the given annotation value.
|
getName, getProgramName, getQualifiedName, getQualifiedNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationValue, hasAnnotationpublic CService(String documentation, String programName, String name, PServiceProvider extendsService, Collection<CServiceMethod> methods, Map<String,String> annotations)
@Nonnull public Collection<CServiceMethod> getMethods()
getMethods in class PServicepublic CServiceMethod getMethod(String name)
public CService getExtendsService()
getExtendsService in class PServicepublic Collection<CServiceMethod> getMethodsIncludingExtended()
@Nonnull public Set<String> getAnnotations()
CAnnotatedDescriptorgetAnnotations in interface CAnnotatedDescriptorpublic boolean hasAnnotation(@Nonnull String name)
CAnnotatedDescriptorhasAnnotation in interface CAnnotatedDescriptorname - Name of annotation.public String getAnnotationValue(@Nonnull String name)
CAnnotatedDescriptorgetAnnotationValue in interface CAnnotatedDescriptorname - Name of annotation.public String getDocumentation()
CAnnotatedDescriptorgetDocumentation in interface CAnnotatedDescriptorCopyright © 2015–2018 morimekta.net. All rights reserved.