T - documentation owner element typepublic class MockDocumentation<T extends Identity> extends java.lang.Object implements Documentation<T>
Documentation.Reference<E extends Identity>| Constructor and Description |
|---|
MockDocumentation() |
| Modifier and Type | Method and Description |
|---|---|
MockDocumentation<T> |
addReference(Documentation.Reference<T> reference) |
java.lang.String |
getCaption() |
T |
getDeclaringIdentity() |
java.util.Collection<Documentation.Reference<T>> |
getReferences() |
java.lang.String |
getText() |
MockDocumentation<T> |
setCaption(java.lang.String value) |
MockDocumentation<T> |
setDeclaringIdentity(T value) |
MockDocumentation<T> |
setText(java.lang.String value) |
public java.lang.String getCaption()
getCaption in interface Documentation<T extends Identity>Documentation.getCaption()public MockDocumentation<T> setCaption(java.lang.String value)
value - the caption to setpublic T getDeclaringIdentity()
getDeclaringIdentity in interface Documentation<T extends Identity>Documentation.getDeclaringIdentity()public MockDocumentation<T> setDeclaringIdentity(T value)
value - the declaring identity to setpublic java.util.Collection<Documentation.Reference<T>> getReferences()
getReferences in interface Documentation<T extends Identity>references in this documentationDocumentation.getReferences()public MockDocumentation<T> addReference(Documentation.Reference<T> reference)
reference - reference to addpublic java.lang.String getText()
getText in interface Documentation<T extends Identity>Documentation.getText()public MockDocumentation<T> setText(java.lang.String value)
value - the text to setCopyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.