|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRPAnnotation
The IRPAnnotation interface represents the different types of annotations you can add to your model - notes, comments, constraints, and requirements.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.telelogic.rhapsody.core.IRPModelElement |
---|
IRPModelElement.OSLCLink |
Method Summary | |
---|---|
void |
addAnchor(IRPModelElement target)
Adds an anchor from the annotation to the specified model element. |
IRPCollection |
getAnchoredByMe()
Gets the list of model elements that are anchored to the annotation. |
java.lang.String |
getBody()
Gets the text of the specification for the annotation. |
java.lang.String |
getSpecification()
Gets the text of the specification for the annotation. |
java.lang.String |
getSpecificationRTF()
Returns the specification of the annotation in RTF format. |
int |
isSpecificationRTF()
Checks whether the specification is in RTF format |
void |
removeAnchor(IRPModelElement target)
Removes the anchor to the specified model element. |
void |
setBody(java.lang.String body)
Adds a specification to the annotation. |
void |
setSpecification(java.lang.String specification)
Adds a specification to the annotation. |
void |
setSpecificationRTF(java.lang.String specificationRTF)
Specifies RTF string to use for the specification of the annotation. |
Methods inherited from interface com.telelogic.rhapsody.core.IRPUnit |
---|
copyToAnotherProject, getAddToModelMode, getCMHeader, getCMState, getCurrentDirectory, getFilename, getIncludeInNextLoad, getIsStub, getLanguage, getLastModifiedTime, getNestedSaveUnits, getNestedSaveUnitsCount, getStructureDiagrams, isReadOnly, isReferenceUnit, isSeparateSaveUnit, load, moveToAnotherProjectLeaveAReference, referenceToAnotherProject, save, setCMHeader, setFilename, setIncludeInNextLoad, setLanguage, setReadOnly, setSeparateSaveUnit, setUnitPath, unload |
Method Detail |
---|
void addAnchor(IRPModelElement target)
target
- the model element the annotation should be anchored toIRPCollection getAnchoredByMe()
java.lang.String getBody()
java.lang.String getSpecification()
java.lang.String getSpecificationRTF()
int isSpecificationRTF()
void removeAnchor(IRPModelElement target)
target
- the model element for which the anchor should be removedvoid setBody(java.lang.String body)
body
- the text to use as the specificationvoid setSpecification(java.lang.String specification)
specification
- the text to use as the specificationvoid setSpecificationRTF(java.lang.String specificationRTF)
specificationRTF
- the RTF string to use for the specification of the annotation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |