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:
Serializable
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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofBasicCredential.passwordattribute defined at extensionapiregistryservices.static final StringGenerated constant - Attribute key ofBasicCredential.usernameattribute defined at extensionapiregistryservices.Fields inherited from class de.hybris.platform.apiregistryservices.model.AbstractCredentialModel
IDFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.BasicCredentialModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextBasicCredentialModel(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 parametersBasicCredentialModel(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 TypeMethodDescriptionGenerated method - Getter of theBasicCredential.passwordattribute defined at extensionapiregistryservices.Generated method - Getter of theBasicCredential.usernameattribute defined at extensionapiregistryservices.voidsetPassword(String value) Generated method - Setter ofBasicCredential.passwordattribute defined at extensionapiregistryservices.voidsetUsername(String value) Generated method - Setter ofBasicCredential.usernameattribute defined at extensionapiregistryservices.Methods inherited from class de.hybris.platform.apiregistryservices.model.AbstractCredentialModel
getId, setIdMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
USERNAME
Generated constant - Attribute key ofBasicCredential.usernameattribute defined at extensionapiregistryservices.- See Also:
-
PASSWORD
Generated constant - Attribute key ofBasicCredential.passwordattribute defined at extensionapiregistryservices.- 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 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(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 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 Details
-
getPassword
Generated method - Getter of theBasicCredential.passwordattribute defined at extensionapiregistryservices.- Returns:
- the password - Encrypted Password
-
getUsername
Generated method - Getter of theBasicCredential.usernameattribute defined at extensionapiregistryservices.- Returns:
- the username - Username
-
setPassword
Generated method - Setter ofBasicCredential.passwordattribute defined at extensionapiregistryservices.- Parameters:
value- the password - Encrypted Password
-
setUsername
Generated method - Setter ofBasicCredential.usernameattribute defined at extensionapiregistryservices.- Parameters:
value- the username - Username
-