| |
|
| java.lang.Object org.drools.lang.dsl.DefaultDSLMapping
All known Subclasses: org.drools.eclipse.dsl.editor.NLGrammarModel,
DefaultDSLMapping | public class DefaultDSLMapping implements DSLMapping(Code) | | This is a default implementation of the DSL Mapping interface
capable of storing a list of DSLMappingEntries and managing it.
author: etirelli |
DefaultDSLMapping | public DefaultDSLMapping()(Code) | | |
DefaultDSLMapping | public DefaultDSLMapping(String identifier)(Code) | | |
addEntries | public void addEntries(List entries)(Code) | | Adds all entries in the given list to this DSL Mapping
Parameters: entries - |
addEntry | public void addEntry(DSLMappingEntry entry)(Code) | | Add one entry to the list of the entries
Parameters: entry - |
getEntries | public List getEntries()(Code) | | Returns an unmodifiable list of entries
|
getEntries | public List getEntries(Section section)(Code) | | Returns the list of mappings for the given section
Parameters: section - |
getIdentifier | public String getIdentifier()(Code) | | Returns the identifier for this mapping
|
setDescription | public void setDescription(String description)(Code) | | |
setIdentifier | public void setIdentifier(String identifier)(Code) | | |
|
|
|