|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.lang.dsl.DefaultDSLMapping
public class DefaultDSLMapping
This is a default implementation of the DSL Mapping interface capable of storing a list of DSLMappingEntries and managing it.
| Constructor Summary | |
|---|---|
DefaultDSLMapping()
|
|
DefaultDSLMapping(String identifier)
|
|
| Method Summary | |
|---|---|
void |
addEntries(List entries)
Adds all entries in the given list to this DSL Mapping |
void |
addEntry(DSLMappingEntry entry)
Add one entry to the list of the entries |
String |
getDescription()
Returns a String description of this mapping |
List |
getEntries()
Returns an unmodifiable list of entries |
List |
getEntries(DSLMappingEntry.Section section)
Returns the list of mappings for the given section |
String |
getIdentifier()
Returns the identifier for this mapping |
void |
removeEntry(DSLMappingEntry entry)
Removes the given entry from the list of entries |
void |
setDescription(String description)
Sets the description for this mapping |
void |
setIdentifier(String identifier)
Sets the identifier for this mapping |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDSLMapping()
public DefaultDSLMapping(String identifier)
| Method Detail |
|---|
public void addEntry(DSLMappingEntry entry)
addEntry in interface DSLMappingentry - public void addEntries(List entries)
addEntries in interface DSLMappingentries - public List getEntries()
getEntries in interface DSLMappingpublic List getEntries(DSLMappingEntry.Section section)
getEntries in interface DSLMappingsection -
public String getIdentifier()
getIdentifier in interface DSLMappingpublic void removeEntry(DSLMappingEntry entry)
DSLMapping
removeEntry in interface DSLMappingpublic String getDescription()
DSLMapping
getDescription in interface DSLMappingpublic void setDescription(String description)
DSLMapping
setDescription in interface DSLMappingpublic void setIdentifier(String identifier)
DSLMapping
setIdentifier in interface DSLMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||