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
    • 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​(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