Record Class ContractRef
java.lang.Object
java.lang.Record
org.bgerp.plugin.bgb.getolt.contract.ContractRef
- Record Components:
providerId- id провайдера, он же префикс namespace связиbillingId- часть типа связи после двоеточия, вход в резолвинг оператораcid- id договора в биллинге; 0, если в поиске ONU не участвуетcontractNumber- номер договора — основной ключ поиска ONU
-
Constructor Summary
ConstructorsConstructorDescriptionContractRef(String providerId, String billingId, int cid, String contractNumber) Creates an instance of aContractRefrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebillingIdrecord component.intcid()Returns the value of thecidrecord component.Returns the value of thecontractNumberrecord 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 theproviderIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ContractRef
Creates an instance of aContractRefrecord class.- Parameters:
providerId- the value for theproviderIdrecord componentbillingId- the value for thebillingIdrecord componentcid- the value for thecidrecord componentcontractNumber- the value for thecontractNumberrecord 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. -
providerId
Returns the value of theproviderIdrecord component.- Returns:
- the value of the
providerIdrecord component
-
billingId
-
cid
-
contractNumber
Returns the value of thecontractNumberrecord component.- Returns:
- the value of the
contractNumberrecord component
-