Record Class FrtbDrcSecuritisation.NonCtpBucket
java.lang.Object
java.lang.Record
com.quantfinlib.risk.FrtbDrcSecuritisation.NonCtpBucket
- Enclosing class:
FrtbDrcSecuritisation
public static record FrtbDrcSecuritisation.NonCtpBucket(FrtbDrcSecuritisation.AssetClass assetClass, FrtbDrcSecuritisation.Region region)
extends Record
A non-CTP bucket (MAR22.31, MAR22.32). Corporates take all regions,
so their region is null; the "other bucket" of MAR22.32(2), for
exposures that cannot be assigned, has both fields null.
-
Constructor Summary
ConstructorsConstructorDescriptionNonCtpBucket(FrtbDrcSecuritisation.AssetClass assetClass, FrtbDrcSecuritisation.Region region) Creates an instance of aNonCtpBucketrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassetClassrecord component.Corporates bucket, all regions (MAR22.31(1)).final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.other()The other bucket for unassignable exposures (MAR22.32(2)).region()Returns the value of theregionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NonCtpBucket
public NonCtpBucket(FrtbDrcSecuritisation.AssetClass assetClass, FrtbDrcSecuritisation.Region region) Creates an instance of aNonCtpBucketrecord class.- Parameters:
assetClass- the value for theassetClassrecord componentregion- the value for theregionrecord component
-
-
Method Details
-
corporates
Corporates bucket, all regions (MAR22.31(1)). -
other
The other bucket for unassignable exposures (MAR22.32(2)). -
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. All components in this record class are compared withObjects::equals(Object,Object). -
assetClass
Returns the value of theassetClassrecord component.- Returns:
- the value of the
assetClassrecord component
-
region
Returns the value of theregionrecord component.- Returns:
- the value of the
regionrecord component
-