Record Class SecurityEventLog.Context
java.lang.Object
java.lang.Record
com.iizix.server.user.SecurityEventLog.Context
- Record Components:
uid- The user, null for none.userName- The user's name, null for none.appID- The application, null for none.deviceID- The device, null for none.address- The client address, null for none.place- The place of the address, null when not known (yet).
- Enclosing class:
SecurityEventLog
Field Summary
FieldsConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionaddress()Returns the value of theaddressrecord component.The address as text.appID()Returns the value of theappIDrecord component.deviceID()Returns the value of thedeviceIDrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.place()Returns the value of theplacerecord component.final StringtoString()Returns a string representation of this record class.uid()Returns the value of theuidrecord component.userName()Returns the value of theuserNamerecord component.
Field Details
NONE
Nothing known.
Constructor Details
Context
public Context(Long uid, String userName, String appID, String deviceID, InetAddress address, String place) Creates an instance of aContextrecord class.- Parameters:
uid- the value for theuidrecord componentuserName- the value for theuserNamerecord componentappID- the value for theappIDrecord componentdeviceID- the value for thedeviceIDrecord componentaddress- the value for theaddressrecord componentplace- the value for theplacerecord component
Method Details
addressText
toString
hashCode
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).uid
userName
appID
deviceID
address
place