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 TypeMethodDescriptionvoid
com.ben12.reta.api.Requirement
addRequirement
(String summary, String id, String version, String content, Map<String, String> attributes) void
void
clear()
Clear previous analysis results.com.ben12.reta.api.SourceConfiguration
getName()
Gets the value of thename
property.com.ben12.reta.plugin.SourceProviderPlugin
javafx.beans.property.StringProperty
toString()
-
Property Details
-
name
public javafx.beans.property.StringProperty nameProperty- See Also:
-
-
Field Details
-
NAME
name
property name.- See Also:
-
COVERS
covers
property 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 thename
property.- Specified by:
getName
in interfacecom.ben12.reta.api.RequirementSourceManager
- Property description:
- Source document name.
- Returns:
- the value of the
name
property - 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:
addRequirement
in interfacecom.ben12.reta.api.RequirementSourceManager
-
toString
-