public class OAuthAccessTokenModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
_USER2TOKENRELATION
Generated relation code constant for relation
User2TokenRelation defining source attribute user in extension oauth2. |
static String |
AUTHENTICATION
Generated constant - Attribute key of
OAuthAccessToken.authentication attribute defined at extension oauth2. |
static String |
AUTHENTICATIONID
Generated constant - Attribute key of
OAuthAccessToken.authenticationId attribute defined at extension oauth2. |
static String |
CLIENT
Generated constant - Attribute key of
OAuthAccessToken.client attribute defined at extension oauth2. |
static String |
REFRESHTOKEN
Generated constant - Attribute key of
OAuthAccessToken.refreshToken attribute defined at extension oauth2. |
static String |
TOKEN
Generated constant - Attribute key of
OAuthAccessToken.token attribute defined at extension oauth2. |
static String |
TOKENID
Generated constant - Attribute key of
OAuthAccessToken.tokenId attribute defined at extension oauth2. |
static String |
USER
Generated constant - Attribute key of
OAuthAccessToken.user attribute defined at extension oauth2. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
OAuthAccessTokenModel()
Generated constructor - Default constructor for generic creation.
|
OAuthAccessTokenModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
OAuthAccessTokenModel(String _authenticationId,
OAuthClientDetailsModel _client,
ItemModel _owner,
OAuthRefreshTokenModel _refreshToken,
Object _token,
String _tokenId)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
OAuthAccessTokenModel(String _authenticationId,
OAuthClientDetailsModel _client,
String _tokenId)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getAuthentication()
Generated method - Getter of the
OAuthAccessToken.authentication attribute defined at extension oauth2. |
String |
getAuthenticationId()
Generated method - Getter of the
OAuthAccessToken.authenticationId attribute defined at extension oauth2. |
OAuthClientDetailsModel |
getClient()
Generated method - Getter of the
OAuthAccessToken.client attribute defined at extension oauth2. |
OAuthRefreshTokenModel |
getRefreshToken()
Generated method - Getter of the
OAuthAccessToken.refreshToken attribute defined at extension oauth2. |
Object |
getToken()
Generated method - Getter of the
OAuthAccessToken.token attribute defined at extension oauth2. |
String |
getTokenId()
Generated method - Getter of the
OAuthAccessToken.tokenId attribute defined at extension oauth2. |
UserModel |
getUser()
Generated method - Getter of the
OAuthAccessToken.user attribute defined at extension oauth2. |
void |
setAuthentication(Object value)
Generated method - Setter of
OAuthAccessToken.authentication attribute defined at extension oauth2. |
void |
setAuthenticationId(String value)
Generated method - Initial setter of
OAuthAccessToken.authenticationId attribute defined at extension oauth2. |
void |
setClient(OAuthClientDetailsModel value)
Generated method - Initial setter of
OAuthAccessToken.client attribute defined at extension oauth2. |
void |
setRefreshToken(OAuthRefreshTokenModel value)
Generated method - Initial setter of
OAuthAccessToken.refreshToken attribute defined at extension oauth2. |
void |
setToken(Object value)
Generated method - Initial setter of
OAuthAccessToken.token attribute defined at extension oauth2. |
void |
setTokenId(String value)
Generated method - Setter of
OAuthAccessToken.tokenId attribute defined at extension oauth2. |
void |
setUser(UserModel value)
Generated method - Setter of
OAuthAccessToken.user attribute defined at extension oauth2. |
getComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final String _TYPECODE
public static final String _USER2TOKENRELATION
User2TokenRelation defining source attribute user in extension oauth2.public static final String TOKENID
OAuthAccessToken.tokenId attribute defined at extension oauth2.public static final String TOKEN
OAuthAccessToken.token attribute defined at extension oauth2.public static final String AUTHENTICATIONID
OAuthAccessToken.authenticationId attribute defined at extension oauth2.public static final String CLIENT
OAuthAccessToken.client attribute defined at extension oauth2.public static final String AUTHENTICATION
OAuthAccessToken.authentication attribute defined at extension oauth2.public static final String REFRESHTOKEN
OAuthAccessToken.refreshToken attribute defined at extension oauth2.public static final String USER
OAuthAccessToken.user attribute defined at extension oauth2.public OAuthAccessTokenModel()
public OAuthAccessTokenModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public OAuthAccessTokenModel(String _authenticationId, OAuthClientDetailsModel _client, String _tokenId)
_authenticationId - initial attribute declared by type OAuthAccessToken at extension oauth2_client - initial attribute declared by type OAuthAccessToken at extension oauth2_tokenId - initial attribute declared by type OAuthAccessToken at extension oauth2@Deprecated public OAuthAccessTokenModel(String _authenticationId, OAuthClientDetailsModel _client, ItemModel _owner, OAuthRefreshTokenModel _refreshToken, Object _token, String _tokenId)
_authenticationId - initial attribute declared by type OAuthAccessToken at extension oauth2_client - initial attribute declared by type OAuthAccessToken at extension oauth2_owner - initial attribute declared by type Item at extension core_refreshToken - initial attribute declared by type OAuthAccessToken at extension oauth2_token - initial attribute declared by type OAuthAccessToken at extension oauth2_tokenId - initial attribute declared by type OAuthAccessToken at extension oauth2@Accessor(qualifier="authentication", type=GETTER) public Object getAuthentication()
OAuthAccessToken.authentication attribute defined at extension oauth2.@Accessor(qualifier="authenticationId", type=GETTER) public String getAuthenticationId()
OAuthAccessToken.authenticationId attribute defined at extension oauth2.@Accessor(qualifier="client", type=GETTER) public OAuthClientDetailsModel getClient()
OAuthAccessToken.client attribute defined at extension oauth2.@Accessor(qualifier="refreshToken", type=GETTER) public OAuthRefreshTokenModel getRefreshToken()
OAuthAccessToken.refreshToken attribute defined at extension oauth2.@Accessor(qualifier="token", type=GETTER) public Object getToken()
OAuthAccessToken.token attribute defined at extension oauth2.@Accessor(qualifier="tokenId", type=GETTER) public String getTokenId()
OAuthAccessToken.tokenId attribute defined at extension oauth2.@Accessor(qualifier="user", type=GETTER) public UserModel getUser()
OAuthAccessToken.user attribute defined at extension oauth2.@Accessor(qualifier="authentication", type=SETTER) public void setAuthentication(Object value)
OAuthAccessToken.authentication attribute defined at extension oauth2.value - the authentication - Serialized authentication object@Accessor(qualifier="authenticationId", type=SETTER) public void setAuthenticationId(String value)
OAuthAccessToken.authenticationId attribute defined at extension oauth2. Can only be used at creation of model - before first save.value - the authenticationId - Authentication identifier@Accessor(qualifier="client", type=SETTER) public void setClient(OAuthClientDetailsModel value)
OAuthAccessToken.client attribute defined at extension oauth2. Can only be used at creation of model - before first save.value - the client - Client identifier@Accessor(qualifier="refreshToken", type=SETTER) public void setRefreshToken(OAuthRefreshTokenModel value)
OAuthAccessToken.refreshToken attribute defined at extension oauth2. Can only be used at creation of model - before first save.value - the refreshToken@Accessor(qualifier="token", type=SETTER) public void setToken(Object value)
OAuthAccessToken.token attribute defined at extension oauth2. Can only be used at creation of model - before first save.value - the token - serialized token object@Accessor(qualifier="tokenId", type=SETTER) public void setTokenId(String value)
OAuthAccessToken.tokenId attribute defined at extension oauth2.value - the tokenId - Token keyCopyright © 2017 SAP SE. All Rights Reserved.