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 SourceModel
public CodeBlock getMethod(String name)
getMethod
in interface SourceModel
public String getName()
getName
in interface SourceModel
public String getMethodDocumentation(String method)
getMethodDocumentation
in interface SourceModel
public void addMethodDocumentation(String name, String documentation)
addMethodDocumentation
in interface SourceModel
public void addDocumentation(String documentation)
addDocumentation
in interface SourceModel
public String getDocumentation()
getDocumentation
in interface SourceModel
Copyright © 2005-2013 Agical AB. All Rights Reserved.