v2x-client
| java.lang.Object | |
| ↳ | com.commsignia.v2x.client.model.CauseCode |
Represents a cause code with a sub cause code
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
CauseCode(PrimaryCause primaryCause, int subCauseCode)
Creates a cause code instance with custom sub cause code.
| |||||||||||
|
CauseCode(int primaryCauseCode, int subCauseCode)
Creates a cause code instance with a custom primary and custom sub cause code.
| |||||||||||
|
CauseCode(int primaryCauseCode, BaseSubCauseCode subCause)
Creates a cause code instance with custom primary cause code.
| |||||||||||
|
CauseCode(PrimaryCause primaryCause, BaseSubCauseCode subCause)
Creates a cause code instance.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object o) | ||||||||||
| PrimaryCause |
getPrimaryCause()
Returns the primary cause object
| ||||||||||
| BaseSubCauseCode |
getSubCause()
Returns the sub cause object
| ||||||||||
| int | hashCode() | ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a cause code instance with custom sub cause code.
| primaryCause | primary cause |
|---|---|
| subCauseCode | custom sub cause code |
Creates a cause code instance with a custom primary and custom sub cause code.
| primaryCauseCode | custom primary cause code |
|---|---|
| subCauseCode | custom sub cause code |
Creates a cause code instance with custom primary cause code.
| primaryCauseCode | custom primary cause code |
|---|---|
| subCause | sub cause |
Creates a cause code instance.
| primaryCause | primary cause |
|---|---|
| subCause | sub cause |