com.agical.rdoc.core.model.impl
Class SourceModelImpl

java.lang.Object
  extended by com.agical.rdoc.core.model.impl.SourceModelImpl
All Implemented Interfaces:
SourceModel, java.io.Serializable

public class SourceModelImpl
extends java.lang.Object
implements SourceModel

See Also:
Serialized Form

Constructor Summary
SourceModelImpl(java.lang.String name)
           
 
Method Summary
 void addDocumentation(java.lang.String documentation)
           
 void addMethod(java.lang.String name, CodeBlock codeBlock)
           
 void addMethodDocumentation(java.lang.String name, java.lang.String documentation)
           
 java.lang.String getDocumentation()
           
 CodeBlock getMethod(java.lang.String name)
           
 java.lang.String getMethodDocumentation(java.lang.String method)
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceModelImpl

public SourceModelImpl(java.lang.String name)
Method Detail

addMethod

public void addMethod(java.lang.String name,
                      CodeBlock codeBlock)
Specified by:
addMethod in interface SourceModel

getMethod

public CodeBlock getMethod(java.lang.String name)
Specified by:
getMethod in interface SourceModel

getName

public java.lang.String getName()
Specified by:
getName in interface SourceModel

getMethodDocumentation

public java.lang.String getMethodDocumentation(java.lang.String method)
Specified by:
getMethodDocumentation in interface SourceModel

addMethodDocumentation

public void addMethodDocumentation(java.lang.String name,
                                   java.lang.String documentation)
Specified by:
addMethodDocumentation in interface SourceModel

addDocumentation

public void addDocumentation(java.lang.String documentation)
Specified by:
addDocumentation in interface SourceModel

getDocumentation

public java.lang.String getDocumentation()
Specified by:
getDocumentation in interface SourceModel


Copyright © 2005-2011 Agical AB. All Rights Reserved.