Record Class MeteredDataAdministrator
java.lang.Object
java.lang.Record
energy.eddie.api.agnostic.master.data.MeteredDataAdministrator
-
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 theofficialContactrecord component.Returns the value of thepermissionAdministratorrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewebsiteUrlrecord component.
-
Constructor Details
-
MeteredDataAdministrator
public MeteredDataAdministrator(String country, String company, String companyId, String websiteUrl, String officialContact, String permissionAdministrator) Creates an instance of aMeteredDataAdministratorrecord class.- Parameters:
country- the value for thecountryrecord componentcompany- the value for thecompanyrecord componentcompanyId- the value for thecompanyIdrecord componentwebsiteUrl- the value for thewebsiteUrlrecord componentofficialContact- the value for theofficialContactrecord componentpermissionAdministrator- the value for thepermissionAdministratorrecord 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
-
companyId
Returns the value of thecompanyIdrecord component.- Returns:
- the value of the
companyIdrecord component
-
websiteUrl
Returns the value of thewebsiteUrlrecord component.- Returns:
- the value of the
websiteUrlrecord component
-
officialContact
Returns the value of theofficialContactrecord component.- Returns:
- the value of the
officialContactrecord component
-
permissionAdministrator
Returns the value of thepermissionAdministratorrecord component.- Returns:
- the value of the
permissionAdministratorrecord component
-