public class OriginLogInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected AccessMethodLogInfo |
accessMethod |
protected GeoLocationLogInfo |
geoLocation |
Constructor and Description |
---|
OriginLogInfo(AccessMethodLogInfo accessMethod)
The origin from which the actor performed the action.
|
OriginLogInfo(AccessMethodLogInfo accessMethod,
GeoLocationLogInfo geoLocation)
The origin from which the actor performed the action.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
AccessMethodLogInfo |
getAccessMethod()
The method that was used to perform the action.
|
GeoLocationLogInfo |
getGeoLocation()
Geographic location details.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final GeoLocationLogInfo geoLocation
protected final AccessMethodLogInfo accessMethod
public OriginLogInfo(AccessMethodLogInfo accessMethod, GeoLocationLogInfo geoLocation)
accessMethod
- The method that was used to perform the action. Must
not be null
.geoLocation
- Geographic location details.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public OriginLogInfo(AccessMethodLogInfo accessMethod)
The default values for unset fields will be used.
accessMethod
- The method that was used to perform the action. Must
not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public AccessMethodLogInfo getAccessMethod()
null
.public GeoLocationLogInfo getGeoLocation()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.