Class SearchRestrictionModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class SearchRestrictionModel extends TypeManagerManagedModel
Generated model class for type SearchRestriction first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _PRINCIPAL2SEARCHRESTRICTIONRELATION
      Generated relation code constant for relation Principal2SearchRestrictionRelation defining source attribute principal in extension core.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of SearchRestriction.code attribute defined at extension core.
      See Also:
    • ACTIVE

      public static final String ACTIVE
      Generated constant - Attribute key of SearchRestriction.active attribute defined at extension core.
      See Also:
    • PRINCIPAL

      public static final String PRINCIPAL
      Generated constant - Attribute key of SearchRestriction.principal attribute defined at extension core.
      See Also:
    • QUERY

      public static final String QUERY
      Generated constant - Attribute key of SearchRestriction.query attribute defined at extension core.
      See Also:
    • RESTRICTEDTYPE

      public static final String RESTRICTEDTYPE
      Generated constant - Attribute key of SearchRestriction.restrictedType attribute defined at extension core.
      See Also:
  • Constructor Details

    • SearchRestrictionModel

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

      public SearchRestrictionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • SearchRestrictionModel

      @Deprecated(since="4.1.1", forRemoval=true) public SearchRestrictionModel(String _code, Boolean _generate, PrincipalModel _principal, String _query, ComposedTypeModel _restrictedType)
      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:
      _code - initial attribute declared by type SearchRestriction at extension core
      _generate - initial attribute declared by type TypeManagerManaged at extension core
      _principal - initial attribute declared by type SearchRestriction at extension core
      _query - initial attribute declared by type SearchRestriction at extension core
      _restrictedType - initial attribute declared by type SearchRestriction at extension core
    • SearchRestrictionModel

      @Deprecated(since="4.1.1", forRemoval=true) public SearchRestrictionModel(String _code, Boolean _generate, ItemModel _owner, PrincipalModel _principal, String _query, ComposedTypeModel _restrictedType)
      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:
      _code - initial attribute declared by type SearchRestriction at extension core
      _generate - initial attribute declared by type TypeManagerManaged at extension core
      _owner - initial attribute declared by type Item at extension core
      _principal - initial attribute declared by type SearchRestriction at extension core
      _query - initial attribute declared by type SearchRestriction at extension core
      _restrictedType - initial attribute declared by type SearchRestriction at extension core
  • Method Details

    • getActive

      @Accessor(qualifier="active", type=GETTER) public Boolean getActive()
      Generated method - Getter of the SearchRestriction.active attribute defined at extension core.
      Returns:
      the active
    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the SearchRestriction.code attribute defined at extension core.
      Returns:
      the code
    • getPrincipal

      @Accessor(qualifier="principal", type=GETTER) public PrincipalModel getPrincipal()
      Generated method - Getter of the SearchRestriction.principal attribute defined at extension core.
      Returns:
      the principal
    • getQuery

      @Accessor(qualifier="query", type=GETTER) public String getQuery()
      Generated method - Getter of the SearchRestriction.query attribute defined at extension core.
      Returns:
      the query
    • getRestrictedType

      @Accessor(qualifier="restrictedType", type=GETTER) public ComposedTypeModel getRestrictedType()
      Generated method - Getter of the SearchRestriction.restrictedType attribute defined at extension core.
      Returns:
      the restrictedType
    • setActive

      @Accessor(qualifier="active", type=SETTER) public void setActive(Boolean value)
      Generated method - Setter of SearchRestriction.active attribute defined at extension core.
      Parameters:
      value - the active
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of SearchRestriction.code attribute defined at extension core.
      Parameters:
      value - the code
    • setPrincipal

      @Accessor(qualifier="principal", type=SETTER) public void setPrincipal(PrincipalModel value)
      Generated method - Setter of SearchRestriction.principal attribute defined at extension core.
      Parameters:
      value - the principal
    • setQuery

      @Accessor(qualifier="query", type=SETTER) public void setQuery(String value)
      Generated method - Setter of SearchRestriction.query attribute defined at extension core.
      Parameters:
      value - the query
    • setRestrictedType

      @Accessor(qualifier="restrictedType", type=SETTER) public void setRestrictedType(ComposedTypeModel value)
      Generated method - Setter of SearchRestriction.restrictedType attribute defined at extension core.
      Parameters:
      value - the restrictedType