Interface DSLMapping

  • All Known Implementing Classes:
    DefaultDSLMapping

    public interface DSLMapping
    An interface that represents a DSL Mapping
    • Method Detail

      • getIdentifier

        java.lang.String getIdentifier()
        Returns the string identifier for this mapping
        Returns:
      • setIdentifier

        void setIdentifier​(java.lang.String identifier)
        Sets the identifier for this mapping
        Parameters:
        identifier -
      • getDescription

        java.lang.String getDescription()
        Returns a String description of this mapping
        Returns:
      • setDescription

        void setDescription​(java.lang.String description)
        Sets the description for this mapping
        Parameters:
        description -
      • getEntries

        java.util.List<DSLMappingEntry> 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​(java.util.List<DSLMappingEntry> 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 -
      • setOptions

        void setOptions​(java.util.Collection<java.lang.String> option)
        Sets an expansion option.
        Parameters:
        option -
      • getOption

        boolean getOption​(java.lang.String option)
        Retrieves an an expansion option.
        Parameters:
        option -
        Returns:
        true if option is set.