Class BasicCredentialModel

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

public class BasicCredentialModel extends AbstractCredentialModel
Generated model class for type BasicCredential first defined at extension apiregistryservices.

Basic credentials for webservice.

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 BasicCredential.password attribute defined at extension apiregistryservices.
    static final String
    Generated constant - Attribute key of BasicCredential.username attribute defined at extension apiregistryservices.

    Fields inherited from class de.hybris.platform.apiregistryservices.model.AbstractCredentialModel

    ID

    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.
    BasicCredentialModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    BasicCredentialModel(String _id, ItemModel _owner, String _password, String _username)
    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
    BasicCredentialModel(String _id, String _password, String _username)
    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 BasicCredential.password attribute defined at extension apiregistryservices.
    Generated method - Getter of the BasicCredential.username attribute defined at extension apiregistryservices.
    void
    Generated method - Setter of BasicCredential.password attribute defined at extension apiregistryservices.
    void
    Generated method - Setter of BasicCredential.username attribute defined at extension apiregistryservices.

    Methods inherited from class de.hybris.platform.apiregistryservices.model.AbstractCredentialModel

    getId, setId

    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:
    • USERNAME

      public static final String USERNAME
      Generated constant - Attribute key of BasicCredential.username attribute defined at extension apiregistryservices.
      See Also:
    • PASSWORD

      public static final String PASSWORD
      Generated constant - Attribute key of BasicCredential.password attribute defined at extension apiregistryservices.
      See Also:
  • Constructor Details

    • BasicCredentialModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public BasicCredentialModel(String _id, String _password, String _username)
      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 AbstractCredential at extension apiregistryservices
      _password - initial attribute declared by type BasicCredential at extension apiregistryservices
      _username - initial attribute declared by type BasicCredential at extension apiregistryservices
    • BasicCredentialModel

      @Deprecated(since="4.1.1", forRemoval=true) public BasicCredentialModel(String _id, ItemModel _owner, String _password, String _username)
      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 AbstractCredential at extension apiregistryservices
      _owner - initial attribute declared by type Item at extension core
      _password - initial attribute declared by type BasicCredential at extension apiregistryservices
      _username - initial attribute declared by type BasicCredential at extension apiregistryservices
  • Method Details

    • getPassword

      @Accessor(qualifier="password", type=GETTER) public String getPassword()
      Generated method - Getter of the BasicCredential.password attribute defined at extension apiregistryservices.
      Returns:
      the password - Encrypted Password
    • getUsername

      @Accessor(qualifier="username", type=GETTER) public String getUsername()
      Generated method - Getter of the BasicCredential.username attribute defined at extension apiregistryservices.
      Returns:
      the username - Username
    • setPassword

      @Accessor(qualifier="password", type=SETTER) public void setPassword(String value)
      Generated method - Setter of BasicCredential.password attribute defined at extension apiregistryservices.
      Parameters:
      value - the password - Encrypted Password
    • setUsername

      @Accessor(qualifier="username", type=SETTER) public void setUsername(String value)
      Generated method - Setter of BasicCredential.username attribute defined at extension apiregistryservices.
      Parameters:
      value - the username - Username