Class SnSynonymEntryModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

      public static final String _SNSYNONYMDICTIONARY2SYNONYMENTRY
      Generated relation code constant for relation SnSynonymDictionary2SynonymEntry defining source attribute synonymDictionary in extension searchservices.
      See Also:
    • ID

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

      public static final String INPUT
      Generated constant - Attribute key of SnSynonymEntry.input attribute defined at extension searchservices.
      See Also:
    • SYNONYMS

      public static final String SYNONYMS
      Generated constant - Attribute key of SnSynonymEntry.synonyms attribute defined at extension searchservices.
      See Also:
    • SYNONYMDICTIONARYPOS

      public static final String SYNONYMDICTIONARYPOS
      Generated constant - Attribute key of SnSynonymEntry.synonymDictionaryPOS attribute defined at extension searchservices.
      See Also:
    • SYNONYMDICTIONARY

      public static final String SYNONYMDICTIONARY
      Generated constant - Attribute key of SnSynonymEntry.synonymDictionary attribute defined at extension searchservices.
      See Also:
  • Constructor Details

    • SnSynonymEntryModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public SnSynonymEntryModel(String _id, SnSynonymDictionaryModel _synonymDictionary)
      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 SnSynonymEntry at extension searchservices
      _synonymDictionary - initial attribute declared by type SnSynonymEntry at extension searchservices
    • SnSynonymEntryModel

      @Deprecated(since="4.1.1", forRemoval=true) public SnSynonymEntryModel(String _id, ItemModel _owner, SnSynonymDictionaryModel _synonymDictionary)
      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 SnSynonymEntry at extension searchservices
      _owner - initial attribute declared by type Item at extension core
      _synonymDictionary - initial attribute declared by type SnSynonymEntry at extension searchservices
  • Method Details

    • getId

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

      @Accessor(qualifier="input", type=GETTER) public List<String> getInput()
      Generated method - Getter of the SnSynonymEntry.input attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the input
    • getSynonymDictionary

      @Accessor(qualifier="synonymDictionary", type=GETTER) public SnSynonymDictionaryModel getSynonymDictionary()
      Generated method - Getter of the SnSynonymEntry.synonymDictionary attribute defined at extension searchservices.
      Returns:
      the synonymDictionary
    • getSynonyms

      @Accessor(qualifier="synonyms", type=GETTER) public List<String> getSynonyms()
      Generated method - Getter of the SnSynonymEntry.synonyms attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the synonyms
    • setId

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

      @Accessor(qualifier="input", type=SETTER) public void setInput(List<String> value)
      Generated method - Setter of SnSynonymEntry.input attribute defined at extension searchservices.
      Parameters:
      value - the input
    • setSynonymDictionary

      @Accessor(qualifier="synonymDictionary", type=SETTER) public void setSynonymDictionary(SnSynonymDictionaryModel value)
      Generated method - Initial setter of SnSynonymEntry.synonymDictionary attribute defined at extension searchservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the synonymDictionary
    • setSynonyms

      @Accessor(qualifier="synonyms", type=SETTER) public void setSynonyms(List<String> value)
      Generated method - Setter of SnSynonymEntry.synonyms attribute defined at extension searchservices.
      Parameters:
      value - the synonyms