Class BasicCredentialModel

  • All Implemented Interfaces:
    java.io.Serializable

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

    Basic credentials for webservice.

    See Also:
    Serialized Form
    • 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 java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String PASSWORD
      Generated constant - Attribute key of BasicCredential.password attribute defined at extension apiregistryservices.
      static java.lang.String USERNAME
      Generated constant - Attribute key of BasicCredential.username attribute defined at extension apiregistryservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      BasicCredentialModel()
      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​(java.lang.String _id, ItemModel _owner, java.lang.String _password, java.lang.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​(java.lang.String _id, java.lang.String _password, java.lang.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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPassword()
      Generated method - Getter of the BasicCredential.password attribute defined at extension apiregistryservices.
      java.lang.String getUsername()
      Generated method - Getter of the BasicCredential.username attribute defined at extension apiregistryservices.
      void setPassword​(java.lang.String value)
      Generated method - Setter of BasicCredential.password attribute defined at extension apiregistryservices.
      void setUsername​(java.lang.String value)
      Generated method - Setter of BasicCredential.username attribute defined at extension apiregistryservices.
      • 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 Detail

      • _TYPECODE

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

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

        public static final java.lang.String PASSWORD
        Generated constant - Attribute key of BasicCredential.password attribute defined at extension apiregistryservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(java.lang.String _id,
                                    java.lang.String _password,
                                    java.lang.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​(java.lang.String _id,
                                    ItemModel _owner,
                                    java.lang.String _password,
                                    java.lang.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 Detail

      • getPassword

        @Accessor(qualifier="password",
                  type=GETTER)
        public java.lang.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 java.lang.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​(java.lang.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​(java.lang.String value)
        Generated method - Setter of BasicCredential.username attribute defined at extension apiregistryservices.
        Parameters:
        value - the username - Username