Class BasicCredentialModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.apiregistryservices.model.AbstractCredentialModel
-
- de.hybris.platform.apiregistryservices.model.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
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringPASSWORDGenerated constant - Attribute key ofBasicCredential.passwordattribute defined at extensionapiregistryservices.static java.lang.StringUSERNAMEGenerated constant - Attribute key ofBasicCredential.usernameattribute defined at extensionapiregistryservices.-
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 BasicCredentialModel()Generated constructor - Default constructor for generic creation.BasicCredentialModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextBasicCredentialModel(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 parametersBasicCredentialModel(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.StringgetPassword()Generated method - Getter of theBasicCredential.passwordattribute defined at extensionapiregistryservices.java.lang.StringgetUsername()Generated method - Getter of theBasicCredential.usernameattribute defined at extensionapiregistryservices.voidsetPassword(java.lang.String value)Generated method - Setter ofBasicCredential.passwordattribute defined at extensionapiregistryservices.voidsetUsername(java.lang.String value)Generated method - Setter ofBasicCredential.usernameattribute defined at extensionapiregistryservices.-
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
-
-
-
-
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 ofBasicCredential.usernameattribute defined at extensionapiregistryservices.- See Also:
- Constant Field Values
-
PASSWORD
public static final java.lang.String PASSWORD
Generated constant - Attribute key ofBasicCredential.passwordattribute defined at extensionapiregistryservices.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_id- initial attribute declared by typeAbstractCredentialat extensionapiregistryservices_password- initial attribute declared by typeBasicCredentialat extensionapiregistryservices_username- initial attribute declared by typeBasicCredentialat extensionapiregistryservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_id- initial attribute declared by typeAbstractCredentialat extensionapiregistryservices_owner- initial attribute declared by typeItemat extensioncore_password- initial attribute declared by typeBasicCredentialat extensionapiregistryservices_username- initial attribute declared by typeBasicCredentialat extensionapiregistryservices
-
-
Method Detail
-
getPassword
@Accessor(qualifier="password", type=GETTER) public java.lang.String getPassword()
Generated method - Getter of theBasicCredential.passwordattribute defined at extensionapiregistryservices.- Returns:
- the password - Encrypted Password
-
getUsername
@Accessor(qualifier="username", type=GETTER) public java.lang.String getUsername()
Generated method - Getter of theBasicCredential.usernameattribute defined at extensionapiregistryservices.- Returns:
- the username - Username
-
setPassword
@Accessor(qualifier="password", type=SETTER) public void setPassword(java.lang.String value)
Generated method - Setter ofBasicCredential.passwordattribute defined at extensionapiregistryservices.- Parameters:
value- the password - Encrypted Password
-
-