Record Class OltOnuDAO.OnuMacEntry
java.lang.Object
java.lang.Record
org.bgerp.plugin.bgb.getolt.dao.OltOnuDAO.OnuMacEntry
- Record Components:
id- ONU row id in getolt_olt_onumac- ONU MACmacTo- subscriber-facing MAC (callingStationId)hasBillingData- true if billing fields already filled in DB
- Enclosing class:
OltOnuDAO
-
Constructor Summary
ConstructorsConstructorDescriptionOnuMacEntry(int id, String mac, String macTo, boolean hasBillingData) Creates an instance of aOnuMacEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thehasBillingDatarecord component.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.mac()Returns the value of themacrecord component.macTo()Returns the value of themacTorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OnuMacEntry
Creates an instance of aOnuMacEntryrecord class.- Parameters:
id- the value for theidrecord componentmac- the value for themacrecord componentmacTo- the value for themacTorecord componenthasBillingData- the value for thehasBillingDatarecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
-
mac
-
macTo
-
hasBillingData
public boolean hasBillingData()Returns the value of thehasBillingDatarecord component.- Returns:
- the value of the
hasBillingDatarecord component
-