Record Class DeliveryClassification
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.delivery.DeliveryClassification
public record DeliveryClassification(DataClassification classification, List<String> restrictedFieldLabels)
extends Record
Classification of the fields actually rendered by a producer.
-
Constructor Summary
ConstructorsConstructorDescriptionDeliveryClassification(DataClassification classification, List<String> restrictedFieldLabels) Creates an instance of aDeliveryClassificationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassificationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static DeliveryClassificationof(QTableMetaData table, Collection<String> fieldNames) Resolve metadata sensitivity and current field-access restrictions together.Returns the value of therestrictedFieldLabelsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DeliveryClassification
public DeliveryClassification(DataClassification classification, List<String> restrictedFieldLabels) Creates an instance of aDeliveryClassificationrecord class.- Parameters:
classification- the value for theclassificationrecord componentrestrictedFieldLabels- the value for therestrictedFieldLabelsrecord component
-
-
Method Details
-
of
Resolve metadata sensitivity and current field-access restrictions together. -
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). -
classification
Returns the value of theclassificationrecord component.- Returns:
- the value of the
classificationrecord component
-
restrictedFieldLabels
-