public class IncompatibilityMessage
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents information about incompatibility.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
message
A message about the incompatibility.
|
private java.lang.String |
type
The type of incompatibility.
|
Constructor and Description |
---|
IncompatibilityMessage() |
Modifier and Type | Method and Description |
---|---|
IncompatibilityMessage |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMessage()
A message about the incompatibility.
|
java.lang.String |
getType()
The type of incompatibility.
|
int |
hashCode() |
void |
setMessage(java.lang.String message)
A message about the incompatibility.
|
void |
setType(DeviceAttribute type)
The type of incompatibility.
|
void |
setType(java.lang.String type)
The type of incompatibility.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IncompatibilityMessage |
withMessage(java.lang.String message)
A message about the incompatibility.
|
IncompatibilityMessage |
withType(DeviceAttribute type)
The type of incompatibility.
|
IncompatibilityMessage |
withType(java.lang.String type)
The type of incompatibility.
|
private java.lang.String message
A message about the incompatibility.
private java.lang.String type
The type of incompatibility.
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
public void setMessage(java.lang.String message)
A message about the incompatibility.
message
- A message about the incompatibility.public java.lang.String getMessage()
A message about the incompatibility.
public IncompatibilityMessage withMessage(java.lang.String message)
A message about the incompatibility.
message
- A message about the incompatibility.public void setType(java.lang.String type)
The type of incompatibility.
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
type
- The type of incompatibility.
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
DeviceAttribute
public java.lang.String getType()
The type of incompatibility.
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
DeviceAttribute
public IncompatibilityMessage withType(java.lang.String type)
The type of incompatibility.
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
type
- The type of incompatibility.
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
DeviceAttribute
public void setType(DeviceAttribute type)
The type of incompatibility.
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
type
- The type of incompatibility.
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
DeviceAttribute
public IncompatibilityMessage withType(DeviceAttribute type)
The type of incompatibility.
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
type
- The type of incompatibility.
Allowed values include:
ARN: The ARN.
FORM_FACTOR: The form factor (for example, phone or tablet).
MANUFACTURER: The manufacturer.
PLATFORM: The platform (for example, Android or iOS).
DeviceAttribute
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public IncompatibilityMessage clone()
clone
in class java.lang.Object