public class BasicCredentialModel extends AbstractCredentialModel
| Modifier and Type | Field and 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. |
ID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED| Constructor and Description |
|---|
BasicCredentialModel()
Generated constructor - Default constructor for generic creation.
|
BasicCredentialModel(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.
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.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and 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. |
getId, setIdgetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerpublic static final java.lang.String _TYPECODE
public static final java.lang.String USERNAME
BasicCredential.username attribute defined at extension apiregistryservices.public static final java.lang.String PASSWORD
BasicCredential.password attribute defined at extension apiregistryservices.public BasicCredentialModel()
public BasicCredentialModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public BasicCredentialModel(java.lang.String _id,
java.lang.String _password,
java.lang.String _username)
_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@Deprecated
public BasicCredentialModel(java.lang.String _id,
ItemModel _owner,
java.lang.String _password,
java.lang.String _username)
_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 apiregistryservicespublic java.lang.String getPassword()
BasicCredential.password attribute defined at extension apiregistryservices.public java.lang.String getUsername()
BasicCredential.username attribute defined at extension apiregistryservices.public void setPassword(java.lang.String value)
BasicCredential.password attribute defined at extension apiregistryservices.value - the passwordpublic void setUsername(java.lang.String value)
BasicCredential.username attribute defined at extension apiregistryservices.value - the usernameCopyright © 2018 SAP SE. All Rights Reserved.