@Valid @Deprecated public class DeprecatedContext extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
DeprecatedContext.Builder
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DeprecatedContext()
Deprecated.
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
DeprecatedContext(DeprecatedContext.Builder pBuilder)
Deprecated.
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static DeprecatedContext.Builder |
builder()
Deprecated.
Method returns a new builder.
|
static DeprecatedContext.Builder |
builder(DeprecatedContext pObject)
Deprecated.
Method creates a new builder and initialize it with the data from the passed object.
|
static DeprecatedContext.Builder |
builder(String pAccessToken,
Locale pLanguage,
long pResellerID,
String pQueryParam)
Deprecated.
Method creates a new builder and initializes it with the passed attributes.
|
String |
getAccessToken()
Deprecated.
Method returns attribute
accessToken. |
Locale |
getLanguage()
Deprecated.
Method returns attribute
language. |
String |
getQueryParam()
Deprecated.
Method returns attribute
queryParam. |
long |
getResellerID()
Deprecated.
Method returns attribute
resellerID. |
void |
setAccessToken(String pAccessToken)
Deprecated.
Method sets attribute
accessToken. |
void |
setLanguage(Locale pLanguage)
Deprecated.
Method sets attribute
language. |
void |
setQueryParam(String pQueryParam)
Deprecated.
Method sets attribute
queryParam. |
void |
setResellerID(long pResellerID)
Deprecated.
Method sets attribute
resellerID. |
String |
toString()
Deprecated.
Method creates a new String with the values of all attributes of this class.
|
StringBuilder |
toStringBuilder(String pIndent)
Deprecated.
Method returns a StringBuilder that can be used to create a String representation of this object.
|
protected DeprecatedContext()
protected DeprecatedContext(DeprecatedContext.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static DeprecatedContext.Builder builder()
DeprecatedContext.Builder New builder that can be used to create new DeprecatedContext objects.public static DeprecatedContext.Builder builder(DeprecatedContext pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.DeprecatedContext.Builder New builder that can be used to create new DeprecatedContext objects. The method never
returns null.public static DeprecatedContext.Builder builder(String pAccessToken, Locale pLanguage, long pResellerID, String pQueryParam)
public String getAccessToken()
accessToken.String Value to which accessToken is set.public void setAccessToken(String pAccessToken)
accessToken.pAccessToken - Value to which accessToken should be set.public void setLanguage(Locale pLanguage)
language.pLanguage - Value to which language should be set.public long getResellerID()
resellerID.resellerID is set.public void setResellerID(long pResellerID)
resellerID.pResellerID - Value to which resellerID should be set.public String getQueryParam()
queryParam.String Value to which queryParam is set.public void setQueryParam(String pQueryParam)
queryParam.pQueryParam - Value to which queryParam should be set.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.