站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

DSLMapping (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.lang.dsl
Interface DSLMapping

All Known Implementing Classes:
DefaultDSLMapping

public interface DSLMapping

An interface that represents a DSL Mapping

Author:
etirelli

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 the list of entries in this mapping
 List getEntries(DSLMappingEntry.Section section)
          Returns the list of mappings for the given section
 String getIdentifier()
          Returns the string 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
 

Method Detail

getIdentifier

String getIdentifier()
Returns the string identifier for this mapping

Returns:

setIdentifier

void setIdentifier(String identifier)
Sets the identifier for this mapping

Parameters:
identifier -

getDescription

String getDescription()
Returns a String description of this mapping

Returns:

setDescription

void setDescription(String description)
Sets the description for this mapping

Parameters:
description -

getEntries

List getEntries()
Returns the list of entries in this mapping

Returns:

addEntry

void addEntry(DSLMappingEntry entry)
Add one entry to the list of the entries

Parameters:
entry -

addEntries

void addEntries(List entries)
Adds all entries in the given list to this DSL Mapping

Parameters:
entries -

removeEntry

void removeEntry(DSLMappingEntry entry)
Removes the given entry from the list of entries

Parameters:
entry -

getEntries

List getEntries(DSLMappingEntry.Section section)
Returns the list of mappings for the given section

Parameters:
section -
Returns:


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.