public class SourceModelImpl extends Object implements SourceModel
| Constructor and Description |
|---|
SourceModelImpl(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDocumentation(String documentation) |
void |
addMethod(String name,
CodeBlock codeBlock) |
void |
addMethodDocumentation(String name,
String documentation) |
String |
getDocumentation() |
CodeBlock |
getMethod(String name) |
String |
getMethodDocumentation(String method) |
String |
getName() |
public SourceModelImpl(String name)
public void addMethod(String name, CodeBlock codeBlock)
addMethod in interface SourceModelpublic CodeBlock getMethod(String name)
getMethod in interface SourceModelpublic String getName()
getName in interface SourceModelpublic String getMethodDocumentation(String method)
getMethodDocumentation in interface SourceModelpublic void addMethodDocumentation(String name, String documentation)
addMethodDocumentation in interface SourceModelpublic void addDocumentation(String documentation)
addDocumentation in interface SourceModelpublic String getDocumentation()
getDocumentation in interface SourceModelCopyright © 2005-2013 Agical AB. All Rights Reserved.