Package energy.eddie.api.cim.config
Record Class PlainCommonInformationModelConfiguration
java.lang.Object
java.lang.Record
energy.eddie.api.cim.config.PlainCommonInformationModelConfiguration
- All Implemented Interfaces:
CommonInformationModelConfiguration
public record PlainCommonInformationModelConfiguration(energy.eddie.cim.v0_82.vhd.CodingSchemeTypeList eligiblePartyNationalCodingScheme, String eligiblePartyFallbackId)
extends Record
implements CommonInformationModelConfiguration
-
Field Summary
Fields inherited from interface energy.eddie.api.cim.config.CommonInformationModelConfiguration
CIM, ELIGIBLE_PARTY, ELIGIBLE_PARTY_FALLBACK_ID_KEY, ELIGIBLE_PARTY_NATIONAL_CODING_SCHEME_KEY -
Constructor Summary
ConstructorsConstructorDescriptionPlainCommonInformationModelConfiguration(energy.eddie.cim.v0_82.vhd.CodingSchemeTypeList eligiblePartyNationalCodingScheme, String eligiblePartyFallbackId) Creates an instance of aPlainCommonInformationModelConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theeligiblePartyFallbackIdrecord component.energy.eddie.cim.v0_82.vhd.CodingSchemeTypeListReturns the value of theeligiblePartyNationalCodingSchemerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PlainCommonInformationModelConfiguration
public PlainCommonInformationModelConfiguration(energy.eddie.cim.v0_82.vhd.CodingSchemeTypeList eligiblePartyNationalCodingScheme, String eligiblePartyFallbackId) Creates an instance of aPlainCommonInformationModelConfigurationrecord class.- Parameters:
eligiblePartyNationalCodingScheme- the value for theeligiblePartyNationalCodingSchemerecord componenteligiblePartyFallbackId- the value for theeligiblePartyFallbackIdrecord 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). -
eligiblePartyNationalCodingScheme
public energy.eddie.cim.v0_82.vhd.CodingSchemeTypeList eligiblePartyNationalCodingScheme()Returns the value of theeligiblePartyNationalCodingSchemerecord component.- Specified by:
eligiblePartyNationalCodingSchemein interfaceCommonInformationModelConfiguration- Returns:
- the value of the
eligiblePartyNationalCodingSchemerecord component
-
eligiblePartyFallbackId
Returns the value of theeligiblePartyFallbackIdrecord component.- Specified by:
eligiblePartyFallbackIdin interfaceCommonInformationModelConfiguration- Returns:
- the value of the
eligiblePartyFallbackIdrecord component
-