Class SearchRestrictionModel

  • All Implemented Interfaces:
    java.io.Serializable

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

      • _TYPECODE

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

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

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

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

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

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

        public static final java.lang.String RESTRICTEDTYPE
        Generated constant - Attribute key of SearchRestriction.restrictedType attribute defined at extension core.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SearchRestrictionModel

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

        public SearchRestrictionModel​(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​(java.lang.String _code,
                                      java.lang.Boolean _generate,
                                      PrincipalModel _principal,
                                      java.lang.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​(java.lang.String _code,
                                      java.lang.Boolean _generate,
                                      ItemModel _owner,
                                      PrincipalModel _principal,
                                      java.lang.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 Detail

      • getActive

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

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.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 java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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