Class SnSynonymDictionaryModel

All Implemented Interfaces:
Serializable

public class SnSynonymDictionaryModel extends ItemModel
Generated model class for type SnSynonymDictionary first defined at extension searchservices.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _SNINDEXCONFIGURATION2SYNONYMDICTIONARY

      public static final String _SNINDEXCONFIGURATION2SYNONYMDICTIONARY
      Generated relation code constant for relation SnIndexConfiguration2SynonymDictionary defining source attribute indexConfigurations in extension searchservices.
      See Also:
    • ID

      public static final String ID
      Generated constant - Attribute key of SnSynonymDictionary.id attribute defined at extension searchservices.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of SnSynonymDictionary.name attribute defined at extension searchservices.
      See Also:
    • LANGUAGES

      public static final String LANGUAGES
      Generated constant - Attribute key of SnSynonymDictionary.languages attribute defined at extension searchservices.
      See Also:
    • INDEXCONFIGURATIONS

      public static final String INDEXCONFIGURATIONS
      Generated constant - Attribute key of SnSynonymDictionary.indexConfigurations attribute defined at extension searchservices.
      See Also:
    • ENTRIES

      public static final String ENTRIES
      Generated constant - Attribute key of SnSynonymDictionary.entries attribute defined at extension searchservices.
      See Also:
  • Constructor Details

    • SnSynonymDictionaryModel

      public SnSynonymDictionaryModel()
      Generated constructor - Default constructor for generic creation.
    • SnSynonymDictionaryModel

      public SnSynonymDictionaryModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • SnSynonymDictionaryModel

      @Deprecated(since="4.1.1", forRemoval=true) public SnSynonymDictionaryModel(String _id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _id - initial attribute declared by type SnSynonymDictionary at extension searchservices
    • SnSynonymDictionaryModel

      @Deprecated(since="4.1.1", forRemoval=true) public SnSynonymDictionaryModel(String _id, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _id - initial attribute declared by type SnSynonymDictionary at extension searchservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getEntries

      @Accessor(qualifier="entries", type=GETTER) public List<SnSynonymEntryModel> getEntries()
      Generated method - Getter of the SnSynonymDictionary.entries attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the entries
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the SnSynonymDictionary.id attribute defined at extension searchservices.
      Returns:
      the id
    • getIndexConfigurations

      @Accessor(qualifier="indexConfigurations", type=GETTER) public List<SnIndexConfigurationModel> getIndexConfigurations()
      Generated method - Getter of the SnSynonymDictionary.indexConfigurations attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the indexConfigurations
    • getLanguages

      @Accessor(qualifier="languages", type=GETTER) public List<LanguageModel> getLanguages()
      Generated method - Getter of the SnSynonymDictionary.languages attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the languages
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the SnSynonymDictionary.name attribute defined at extension searchservices.
      Returns:
      the name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the SnSynonymDictionary.name attribute defined at extension searchservices.
      Parameters:
      loc - the value localization key
      Returns:
      the name
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setEntries

      @Accessor(qualifier="entries", type=SETTER) public void setEntries(List<SnSynonymEntryModel> value)
      Generated method - Setter of SnSynonymDictionary.entries attribute defined at extension searchservices.
      Parameters:
      value - the entries
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Setter of SnSynonymDictionary.id attribute defined at extension searchservices.
      Parameters:
      value - the id
    • setIndexConfigurations

      @Accessor(qualifier="indexConfigurations", type=SETTER) public void setIndexConfigurations(List<SnIndexConfigurationModel> value)
      Generated method - Setter of SnSynonymDictionary.indexConfigurations attribute defined at extension searchservices.
      Parameters:
      value - the indexConfigurations
    • setLanguages

      @Accessor(qualifier="languages", type=SETTER) public void setLanguages(List<LanguageModel> value)
      Generated method - Setter of SnSynonymDictionary.languages attribute defined at extension searchservices.
      Parameters:
      value - the languages
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of SnSynonymDictionary.name attribute defined at extension searchservices.
      Parameters:
      value - the name
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of SnSynonymDictionary.name attribute defined at extension searchservices.
      Parameters:
      value - the name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language