Class SnSynonymEntryModel

  • All Implemented Interfaces:
    java.io.Serializable

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

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _SNSYNONYMDICTIONARY2SYNONYMENTRY

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

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

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

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

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

        public static final java.lang.String SYNONYMDICTIONARY
        Generated constant - Attribute key of SnSynonymEntry.synonymDictionary attribute defined at extension searchservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(java.lang.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​(java.lang.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 Detail

      • getId

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

        @Accessor(qualifier="input",
                  type=GETTER)
        public java.util.List<java.lang.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 java.util.List<java.lang.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​(java.lang.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​(java.util.List<java.lang.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​(java.util.List<java.lang.String> value)
        Generated method - Setter of SnSynonymEntry.synonyms attribute defined at extension searchservices.
        Parameters:
        value - the synonyms