public class CService extends PService implements CAnnotatedDescriptor
| Constructor and Description |
|---|
CService(String comment,
String packageName,
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 |
getComment()
The type comment is the last block of comment written before the type
declaration.
|
Collection<CServiceMethod> |
getMethods() |
boolean |
hasAnnotation(String name)
Get the given annotation value.
|
getExtendsService, getMethod, getName, getPackageName, getQualifiedNamepublic CService(String comment, String packageName, String name, PServiceProvider extendsService, Collection<CServiceMethod> methods, Map<String,String> annotations)
public Collection<CServiceMethod> getMethods()
getMethods in class PServicepublic Set<String> getAnnotations()
CAnnotatedDescriptorgetAnnotations in interface CAnnotatedDescriptorpublic boolean hasAnnotation(String name)
CAnnotatedDescriptorhasAnnotation in interface CAnnotatedDescriptorname - Name of annotation.public String getAnnotationValue(String name)
CAnnotatedDescriptorgetAnnotationValue in interface CAnnotatedDescriptorname - Name of annotation.public String getComment()
CAnnotatedDescriptorgetComment in interface CAnnotatedDescriptorCopyright © 2016. All rights reserved.