|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.validation.valdoc.rulebase.ValidationDocumentRuleBase
public class ValidationDocumentRuleBase
Field Summary |
---|
Fields inherited from interface org.eclipse.actf.validation.rulebase.IDocumentRuleBase |
---|
ALIASES_ID |
Constructor Summary | |
---|---|
ValidationDocumentRuleBase()
|
Method Summary | |
---|---|
void |
addExecutionPointDescriptor(ExecutionPointDescriptor descriptor)
add an execution point descriptor to this rulebase |
void |
addRuleSet(IRuleSet set)
add a ruleset to this rulebase |
ICodeProcessor |
getCodeProcessor()
Retrieve the ICodeProcessor for this IRuleBase. |
URL |
getDocumentLocation()
Retrieve the URL of the document used for building the IRuleBase. |
ExecutionPointDescriptor |
getExecutionPointDescriptor(String name)
get the execution point descriptor with the given name |
ExecutionPointDescriptor[] |
getExecutionPointDescriptors()
get the execution point descriptors of this rulebase |
IRuleBaseMetadata |
getMetadata()
returns the metadata for this rulebase (if any) |
IModel |
getModel()
Retrieve the model for this IRuleBase. |
String |
getModelType()
retrieve the model type associated with this rulebase |
String |
getName()
get the name of this rulebase |
IRuleSet[] |
getRuleSets()
retrieve the rulesets contained within this rulebase. |
IRuleSet[] |
getRuleSetsForExecutionPoint(String name)
retrieves all RuleSets in the IRuleBase that are associated with the ExecutionPoint with the given name. |
String |
getScriptingLanguage()
|
String |
getVersion()
retrieve the version number associated with this rulebase |
boolean |
isEnabled()
returns whether or not this rulebase is enabled. |
void |
removeExecutionPointDescriptor(String name)
remove the execution point descriptor with the given name from this rulebase |
void |
removeRuleSet(String name)
remove the ruleset with the given name |
void |
setCodeProcessor(ICodeProcessor codeProc)
Set the ICodeProcessor for this IRuleBase |
void |
setDocumentLocation(URL location)
Set the URL of the document used for building the IRuleBase. |
void |
setEnabled(boolean enable)
set whether or not this rulebase is enabled. |
void |
setExecutionPointDescriptors(ExecutionPointDescriptor[] descriptors)
set the execution point descriptors for this rulebase. |
void |
setMetadata(IRuleBaseMetadata metadata)
set the metadata for this rulebase |
void |
setModel(IModel model)
Set the model for this IRuleBase |
void |
setModelType(String type)
set the model type associated with this rulebase. |
void |
setName(String name)
set the name of this rulebase |
void |
setRuleSets(IRuleSet[] rulesets)
set the rulesets for this rulebase |
void |
setScriptingLanguage(String lang)
|
void |
setVersion(String version)
set the version number associated with this rulebase. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationDocumentRuleBase()
Method Detail |
---|
public URL getDocumentLocation()
IDocumentRuleBase
getDocumentLocation
in interface IDocumentRuleBase
public void setDocumentLocation(URL location)
IDocumentRuleBase
setDocumentLocation
in interface IDocumentRuleBase
location
- - URL of the validation documentpublic void addRuleSet(IRuleSet set)
IRuleBase
addRuleSet
in interface IRuleBase
public String getModelType()
IRuleBase
getModelType
in interface IRuleBase
IRuleBase.setModelType(String)
public IRuleBaseMetadata getMetadata()
IRuleBase
getMetadata
in interface IRuleBase
null
if no metadata
is availablepublic String getName()
IRuleBase
getName
in interface IRuleBase
public IRuleSet[] getRuleSets()
IRuleBase
getRuleSets
in interface IRuleBase
IRuleSet
public boolean isEnabled()
IRuleBase
isEnabled
in interface IRuleBase
true
if this rulebase is enabled,
false
otherwisepublic void removeRuleSet(String name)
IRuleBase
removeRuleSet
in interface IRuleBase
name
- name of ruleset to be removedpublic void setModelType(String type)
IRuleBase
setModelType
in interface IRuleBase
type
- type of model to be associated with this rulebasepublic void setEnabled(boolean enable)
IRuleBase
setEnabled
in interface IRuleBase
enable
- -
set whether or not this rulebase is enabledpublic void setMetadata(IRuleBaseMetadata metadata)
IRuleBase
setMetadata
in interface IRuleBase
public void setName(String name)
IRuleBase
setName
in interface IRuleBase
name
- -
name of rulebasepublic void setRuleSets(IRuleSet[] rulesets)
IRuleBase
setRuleSets
in interface IRuleBase
public String getScriptingLanguage()
public void setScriptingLanguage(String lang)
public void setCodeProcessor(ICodeProcessor codeProc)
IDocumentRuleBase
setCodeProcessor
in interface IDocumentRuleBase
codeProc
- -
ICodeProcessor instance for the IRuleBasepublic ICodeProcessor getCodeProcessor()
IDocumentRuleBase
getCodeProcessor
in interface IDocumentRuleBase
public void setModel(IModel model)
IDocumentRuleBase
setModel
in interface IDocumentRuleBase
model
- -
IModel instance for the IRuleBasepublic IModel getModel()
IDocumentRuleBase
getModel
in interface IDocumentRuleBase
public ExecutionPointDescriptor[] getExecutionPointDescriptors()
IRuleBase
getExecutionPointDescriptors
in interface IRuleBase
IRuleBase.setExecutionPointDescriptors(ExecutionPointDescriptor[])
public void setExecutionPointDescriptors(ExecutionPointDescriptor[] descriptors)
IRuleBase
setExecutionPointDescriptors
in interface IRuleBase
descriptors
- -
an array of ExecutionPointDescriptors for this IRuleBasepublic void addExecutionPointDescriptor(ExecutionPointDescriptor descriptor)
IRuleBase
addExecutionPointDescriptor
in interface IRuleBase
public void removeExecutionPointDescriptor(String name)
IRuleBase
removeExecutionPointDescriptor
in interface IRuleBase
name
- name of descriptor to be removedpublic ExecutionPointDescriptor getExecutionPointDescriptor(String name)
IRuleBase
getExecutionPointDescriptor
in interface IRuleBase
name
- name of desired descriptor
public IRuleSet[] getRuleSetsForExecutionPoint(String name)
IRuleBase
getRuleSetsForExecutionPoint
in interface IRuleBase
name
- -- the execution point name to matchpublic String getVersion()
IRuleBase
getVersion
in interface IRuleBase
IRuleBase.setVersion(String)
public void setVersion(String version)
IRuleBase
setVersion
in interface IRuleBase
version
- version number to be associated with this rulebase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |