|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 DSLMapping
entry
- public void addEntries(List entries)
addEntries
in interface DSLMapping
entries
- public List getEntries()
getEntries
in interface DSLMapping
public List getEntries(DSLMappingEntry.Section section)
getEntries
in interface DSLMapping
section
-
public String getIdentifier()
getIdentifier
in interface DSLMapping
public void removeEntry(DSLMappingEntry entry)
DSLMapping
removeEntry
in interface DSLMapping
public String getDescription()
DSLMapping
getDescription
in interface DSLMapping
public void setDescription(String description)
DSLMapping
setDescription
in interface DSLMapping
public 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 |