Package com.ben12.reta.model
Class InputRequirementSource
java.lang.Object
com.ben12.reta.model.InputRequirementSource
- All Implemented Interfaces:
com.ben12.reta.api.RequirementSourceManager
public class InputRequirementSource
extends Object
implements com.ben12.reta.api.RequirementSourceManager
- Author:
- BenoƮt Moreau (ben.12)
-
Property Summary
Properties -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInputRequirementSource(String theName, com.ben12.reta.plugin.SourceProviderPlugin theProvider, com.ben12.reta.api.SourceConfiguration theConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvoidcom.ben12.reta.api.RequirementaddRequirement(String summary, String id, String version, String content, Map<String, String> attributes) voidvoidclear()Clear previous analysis results.com.ben12.reta.api.SourceConfigurationgetName()Gets the value of thenameproperty.com.ben12.reta.plugin.SourceProviderPluginjavafx.beans.property.StringPropertytoString()
-
Property Details
-
name
public javafx.beans.property.StringProperty nameProperty- See Also:
-
-
Field Details
-
NAME
nameproperty name.- See Also:
-
COVERS
coversproperty name.- See Also:
-
-
Constructor Details
-
InputRequirementSource
public InputRequirementSource(String theName, com.ben12.reta.plugin.SourceProviderPlugin theProvider, com.ben12.reta.api.SourceConfiguration theConfiguration) - Parameters:
theName- document source nametheProvider- plug-in source providertheConfiguration- plug-in source configuration
-
-
Method Details
-
clear
public void clear()Clear previous analysis results. -
nameProperty
public javafx.beans.property.StringProperty nameProperty()- Returns:
- requirement source name property
-
getName
Gets the value of thenameproperty.- Specified by:
getNamein interfacecom.ben12.reta.api.RequirementSourceManager- Property description:
- Source document name.
- Returns:
- the value of the
nameproperty - See Also:
-
getProvider
public com.ben12.reta.plugin.SourceProviderPlugin getProvider()- Returns:
- the provider
-
getConfiguration
public com.ben12.reta.api.SourceConfiguration getConfiguration()- Returns:
- the configuration
-
getRequirements
- Returns:
- the set of requirement found in the document
-
getAllReferences
- Returns:
- the set of requirement found in the document
-
getAllUknownReferences
- Returns:
- the set of requirement found in the document
-
getCovers
- Returns:
- list of covered document sources by this document source
-
getCoversBy
- Returns:
- coverage rate of this document by the other documents
-
getRequirementAttributes
- Returns:
- all requirement attributes set
-
addRequirementAttribute
- Parameters:
att- requirement attribute name to add
-
getReferenceAttributes
- Returns:
- all reference attributes set
-
addReferenceAttribute
- Parameters:
att- reference attribute name to add
-
addRequirement
public com.ben12.reta.api.Requirement addRequirement(String summary, String id, String version, String content, Map<String, String> attributes) - Specified by:
addRequirementin interfacecom.ben12.reta.api.RequirementSourceManager
-
toString
-