Record Class EloSystem
java.lang.Object
java.lang.Record
com.elo.solutions.eloinst.settings.EloSystem
- Record Components:
ixUrl- the indexserver urluserName- username to log in to the elo systempassword- password to log in to the elo system
public record EloSystem(@Nonnull String ixUrl, @Nonnull String userName, @Nonnull String password)
extends Record
An
EloSystem includes all necessary details about the target or source system e.g. credentials.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ixUrl()Returns the value of theixUrlrecord component.static EloSystemFactory function to create a new EloSystem Object.password()Returns the value of thepasswordrecord component.toString()Returns a string representation of this record class.userName()Returns the value of theuserNamerecord component.
-
Constructor Details
-
Method Details
-
of
Factory function to create a new EloSystem Object. Use the factory function instead of creating the object with the constructor- Parameters:
ixUrl- the indexserver urluserName- username to log in to the elo systempassword- password to log in to the elo system- Returns:
- elosystem
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
ixUrl
Returns the value of theixUrlrecord component.- Returns:
- the value of the
ixUrlrecord component
-
userName
Returns the value of theuserNamerecord component.- Returns:
- the value of the
userNamerecord component
-
password
Returns the value of thepasswordrecord component.- Returns:
- the value of the
passwordrecord component
-