public abstract class AbstractRuleset extends Object implements Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
protected String |
aliasName
Name of the Project Aliasset
|
protected String |
guid
GUID of this Ruleset.
|
protected String |
name
The name of this Ruleset.
|
protected String |
projectName
Name of the Project to which this Ruleset belongs
|
protected Properties |
rulesetProperties
User defined properties for this Ruleset.
|
protected String |
varAliasName
Alias name of a Definition in this Ruleset
|
Constructor and Description |
---|
AbstractRuleset()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns the cloned object of this Ruleset
|
String |
getAliasSetName()
Returns the Project Alias set.
|
abstract String[] |
getClassesUsed()
Returns the name of classes used in this Ruleset.
|
abstract String[] |
getDecisionTableNames()
This method returns the names of the DecisionTables present in this
Ruleset.
|
abstract AbstractDefinition |
getDefinition(String definitionname)
This method returns the instance of
AbstractDefinition corresponding to the
name in the param definitionname . |
abstract String[] |
getDefinitionNames()
This method returns names of all the Definitions available within this
Ruleset.
|
String |
getGUID()
Returns the unique identifier of this Ruleset.
|
String |
getName()
Returns the name of this Ruleset.
|
String |
getProjectName()
Returns the name of the Project to which this Ruleset belongs
|
String |
getProperty(String propertyKey)
Returns the value of the Ruleset property with the specified key.
|
String |
getProperty(String propertyKey,
String defaultValue)
Returns the value of that Ruleset property that corresponds to the given
key.
|
abstract AbstractRule |
getRule(String ruleName)
This method returns the
AbstractRule
from this Ruleset.The Rule to be returned corresponds to the name of the
Rule given in the param ruleName . |
abstract String[] |
getRuleNames()
This method returns the names of all the Rules that belong to this
Ruleset.
|
abstract String[] |
getSchemasUsed()
This method returns names of all the schemas used in this Ruleset in the
form of a String array.
|
abstract String |
getType()
This method returns the type of this Ruleset.
|
Enumeration |
propertyNames()
Returns an Enumeration of names of all the properties of this Ruleset.
|
protected String aliasName
protected String guid
protected String name
protected String projectName
protected Properties rulesetProperties
protected String varAliasName
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public String getAliasSetName()
public abstract String[] getClassesUsed()
public abstract String[] getDecisionTableNames()
public String getGUID()
public String getName()
public String getProjectName()
public String getProperty(String propertyKey)
null
is returned if no property with the given key is
found.propertyKey
- key of the propertynull
public String getProperty(String propertyKey, String defaultValue)
defaultValue
is returned.propertyKey
- key of the propertydefaultValue
- defaultValue for the propertypublic abstract AbstractRule getRule(String ruleName)
AbstractRule
from this Ruleset.The Rule to be returned corresponds to the name of the
Rule given in the param ruleName
.ruleName
- name of the Rulepublic abstract String[] getRuleNames()
public abstract String[] getSchemasUsed()
public abstract String getType()
public abstract AbstractDefinition getDefinition(String definitionname)
AbstractDefinition
corresponding to the
name in the param definitionname
. If no Definition for
the given name is found, null
is returned.definitionname
- name of the Definitionpublic abstract String[] getDefinitionNames()
public Enumeration propertyNames()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] BRMS-FACADE
|
[sap.com] tc/brms/facade
|
api
|
BC-BMT-BRM-ENG
|
Copyright 2018 SAP AG Complete Copyright Notice