|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.dbcore.links.LinkLabelRepository
public class LinkLabelRepository
LinkLabelRepository allows storage of and random access to LinkLabels in a single, unstructured pool.
Constructor Summary | |
---|---|
LinkLabelRepository(Document parentDocument)
|
Method Summary | |
---|---|
void |
addLabel(LinkLabel label)
Add a LinkLabel to the repository. |
boolean |
containsLabel(LinkLabelAddress address)
Returns whether the label repository contains a label for a particular address. |
LinkLabel |
getLabel(LinkLabelAddress address)
Retrieve a label from the repository. |
void |
removeLabel(LinkLabelAddress deadLabelAddress)
Remove a LinkLabel from the repository. |
java.lang.StringBuffer |
renderLabel(LinkLabelAddress address)
Render the link label. |
java.lang.StringBuffer |
renderLabelForHumans(LinkLabelAddress address)
Renders a link label in a way that is non interpretable by the command interpeter, but is easier for humans to read. |
void |
validateLinkInstancings()
Go through all the links to instancings and make sure this instancings still validate. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkLabelRepository(Document parentDocument)
Method Detail |
---|
public void addLabel(LinkLabel label) throws Scheherexception
Scheherexception
public void removeLabel(LinkLabelAddress deadLabelAddress) throws Scheherexception
deadLabelAddress
- The label to remove.
Scheherexception
public LinkLabel getLabel(LinkLabelAddress address) throws Scheherexception
Scheherexception
public java.lang.StringBuffer renderLabel(LinkLabelAddress address) throws Scheherexception
Scheherexception
public java.lang.StringBuffer renderLabelForHumans(LinkLabelAddress address) throws Scheherexception
Scheherexception
public boolean containsLabel(LinkLabelAddress address) throws Scheherexception
Scheherexception
public void validateLinkInstancings() throws Scheherexception
Scheherexception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |