Method | Description | |
---|---|---|
AddModelElement ( IModelElement element ) : void |
Adds a model element in this model element
|
|
AddTypeSpec ( TypeSpec aTypeSpec ) : void |
Adds a type spec to a paragraph
|
|
AppendToRequirementSet ( RequirementSet requirementSet ) : bool |
Appends this paragraph to the requirement set if it does not belong to it already
|
|
BelongsToRequirementSet ( RequirementSet requirementSet ) : bool |
Indicates whether this paragraphs belongs to the functionam block whose name is provided as parameter
|
|
ChangeType ( |
Changes the type of the paragraph if the paragraph type is the original type
|
|
CompareTo ( IModelElement other ) : int | ||
CreateDefault ( |
Creates a default element
|
|
CreateParagraphSetMetrics ( List |
Creates the stat message according to the list of paragraphs provided
|
|
CreateParagraphSetStatus ( List |
Creates the status string for a set of paragraphs
|
|
CreateParagraphUpdate ( Dictionary dictionary ) : Paragraph |
Creates an update for this paragraph in the provided dictionary.
|
|
CreateStatusMessage ( ) : string |
Creates the status message
|
|
Delete ( ) : void |
Also removes the req refs to that paragraph
|
|
FillCollection ( List |
Fills the collection of paragraphs with this paragraph, and the sub paragraphs
|
|
FindEnclosingChapter ( ) : Chapter |
Finds the chapter enclosing this paragraph
|
|
FindEnclosingSpecification ( ) : Specification |
Finds the specification enclosing this paragraph
|
|
FindParagraph ( String id, bool create ) : Paragraph |
Looks for a specific paragraph
|
|
GetFirstOrderSubParagraphs ( ) : List |
Provides all one-step-sub-paragraphs of this paragraph.
|
|
GetNewSubParagraphId ( bool letter ) : string |
The sub paragraphs of this paragraph
|
|
GetParagraphs ( List |
Worker for get sub paragraphs
|
|
GetSubParagraphs ( ) : List |
Provides all sub paragraphs of this paragraph
|
|
HasApplicableFirstOrderSubParagraphs ( ) : bool |
Tells wheher the paragraph contains at least one first order subparagraph which is Applicable, i.e. an implemented requirement.
|
|
HasApplicableSubParagraphs ( ) : bool |
Tells wheher the paragraph contains at least one subparagraph in all its descendants which is Applicable, i.e. an implemented requirement.
|
|
IsApplicable ( ) : bool | ||
RestructureName ( ) : void |
Restructures the name of this paragraph
|
|
SetType ( |
||
SubParagraphBelongsToRequirementSet ( RequirementSet requirementSet ) : bool |
Method | Description | |
---|---|---|
ConsiderInMetrics ( ) : bool |
Indicates that the paragraph should be considered while computing metrics that is, if the paragraph is related to a requirements set with "Applicable" flag set to true
|
|
FillApplicableRequirementSets ( HashSet |
Provides the list of applicable requirement sets
|
|
GenerateDefaultParagraphID ( |
Generates the ID for a default element.
|
public AddModelElement ( IModelElement element ) : void | ||
element | IModelElement | |
return | void |
public AddTypeSpec ( TypeSpec aTypeSpec ) : void | ||
aTypeSpec | TypeSpec | The type spec to add |
return | void |
public AppendToRequirementSet ( RequirementSet requirementSet ) : bool | ||
requirementSet | RequirementSet | |
return | bool |
public BelongsToRequirementSet ( RequirementSet requirementSet ) : bool | ||
requirementSet | RequirementSet | |
return | bool |
public ChangeType ( |
||
originalType | The type of the paragraph which should be matched | |
targetType | When the originalType is matched, the new type to set | |
return | void |
public CompareTo ( IModelElement other ) : int | ||
other | IModelElement | |
return | int |
public static CreateDefault ( |
||
enclosingCollection | ||
enclosingId | string | |
return | Paragraph |
public static CreateParagraphSetMetrics ( List |
||
paragraphs | List |
|
return | ParagraphSetMetrics |
public static CreateParagraphSetStatus ( List |
||
paragraphs | List |
|
return | string |
public CreateParagraphUpdate ( Dictionary dictionary ) : Paragraph | ||
dictionary | Dictionary | The dictionary to put the updated paragraph in |
return | Paragraph |
public FindEnclosingSpecification ( ) : Specification | ||
return | Specification |
public FindParagraph ( String id, bool create ) : Paragraph | ||
id | String | The id of the paragraph to find |
create | bool | If true, creates the paragraph tree if needed |
return | Paragraph |
public GetNewSubParagraphId ( bool letter ) : string | ||
letter | bool | Indicates that the paragraph id should be terminated by a letter |
return | string |
public HasApplicableFirstOrderSubParagraphs ( ) : bool | ||
return | bool |
public SetType ( |
||
type | ||
return | void |
public SubParagraphBelongsToRequirementSet ( RequirementSet requirementSet ) : bool | ||
requirementSet | RequirementSet | |
return | bool |