Record Class PermissionAdministrator
java.lang.Object
java.lang.Record
energy.eddie.api.agnostic.master.data.PermissionAdministrator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompany()Returns the value of thecompanyrecord component.Returns the value of thecompanyIdrecord component.country()Returns the value of thecountryrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thejumpOffUrlrecord component.name()Returns the value of thenamerecord component.Returns the value of theregionConnectorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PermissionAdministrator
public PermissionAdministrator(String country, String company, String name, String companyId, String jumpOffUrl, String regionConnector) Creates an instance of aPermissionAdministratorrecord class.- Parameters:
country- the value for thecountryrecord componentcompany- the value for thecompanyrecord componentname- the value for thenamerecord componentcompanyId- the value for thecompanyIdrecord componentjumpOffUrl- the value for thejumpOffUrlrecord componentregionConnector- the value for theregionConnectorrecord component
-
-
Method Details
-
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). -
country
Returns the value of thecountryrecord component.- Returns:
- the value of the
countryrecord component
-
company
Returns the value of thecompanyrecord component.- Returns:
- the value of the
companyrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
companyId
Returns the value of thecompanyIdrecord component.- Returns:
- the value of the
companyIdrecord component
-
jumpOffUrl
Returns the value of thejumpOffUrlrecord component.- Returns:
- the value of the
jumpOffUrlrecord component
-
regionConnector
Returns the value of theregionConnectorrecord component.- Returns:
- the value of the
regionConnectorrecord component
-