Class APIUserModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.prosservices.model.APIUserModel
All Implemented Interfaces:
Serializable

public class APIUserModel extends ItemModel
Generated model class for type APIUser first defined at extension prosservices.

This type represents pros api user.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of APIUser.code attribute defined at extension prosservices.
    static final String
    Generated constant - Attribute key of APIUser.description attribute defined at extension prosservices.
    static final String
    Generated constant - Attribute key of APIUser.userName attribute defined at extension prosservices.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    APIUserModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    APIUserModel(String _code, 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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the APIUser.code attribute defined at extension prosservices.
    Generated method - Getter of the APIUser.description attribute defined at extension prosservices.
    Generated method - Getter of the APIUser.description attribute defined at extension prosservices.
    Generated method - Getter of the APIUser.userName attribute defined at extension prosservices.
    void
    setCode(String value)
    Generated method - Setter of APIUser.code attribute defined at extension prosservices.
    void
    Generated method - Setter of APIUser.description attribute defined at extension prosservices.
    void
    Generated method - Setter of APIUser.description attribute defined at extension prosservices.
    void
    Generated method - Setter of APIUser.userName attribute defined at extension prosservices.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

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

      public static final String CODE
      Generated constant - Attribute key of APIUser.code attribute defined at extension prosservices.
      See Also:
    • USERNAME

      public static final String USERNAME
      Generated constant - Attribute key of APIUser.userName attribute defined at extension prosservices.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of APIUser.description attribute defined at extension prosservices.
      See Also:
  • Constructor Details

    • APIUserModel

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

      public APIUserModel(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
    • APIUserModel

      @Deprecated(since="4.1.1", forRemoval=true) public APIUserModel(String _code)
      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 APIUser at extension prosservices
    • APIUserModel

      @Deprecated(since="4.1.1", forRemoval=true) public APIUserModel(String _code, 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:
      _code - initial attribute declared by type APIUser at extension prosservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the APIUser.code attribute defined at extension prosservices.
      Returns:
      the code - Unique code that identifies api user in pros
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the APIUser.description attribute defined at extension prosservices.
      Returns:
      the description - This identifies description of the api user in pros
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
      Generated method - Getter of the APIUser.description attribute defined at extension prosservices.
      Parameters:
      loc - the value localization key
      Returns:
      the description - This identifies description of the api user in pros
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getUserName

      @Accessor(qualifier="userName", type=GETTER) public String getUserName()
      Generated method - Getter of the APIUser.userName attribute defined at extension prosservices.
      Returns:
      the userName - The userName that identifies code of api user in pros
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of APIUser.code attribute defined at extension prosservices.
      Parameters:
      value - the code - Unique code that identifies api user in pros
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
      Generated method - Setter of APIUser.description attribute defined at extension prosservices.
      Parameters:
      value - the description - This identifies description of the api user in pros
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
      Generated method - Setter of APIUser.description attribute defined at extension prosservices.
      Parameters:
      value - the description - This identifies description of the api user in pros
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setUserName

      @Accessor(qualifier="userName", type=SETTER) public void setUserName(String value)
      Generated method - Setter of APIUser.userName attribute defined at extension prosservices.
      Parameters:
      value - the userName - The userName that identifies code of api user in pros