Record Class CdsPropertyLoggingContext
java.lang.Object
java.lang.Record
com.sap.cds.services.impl.application.CdsPropertyLoggingContext
-
Constructor Summary
ConstructorsConstructorDescriptionCdsPropertyLoggingContext(Object defaultValue, Object actualValue, String propertyPath, boolean isDeprecated, boolean isDocumented, boolean containsSensitiveData) Creates an instance of aCdsPropertyLoggingContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactualValuerecord component.booleanReturns the value of thecontainsSensitiveDatarecord component.Returns the value of thedefaultValuerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisDeprecatedrecord component.booleanReturns the value of theisDocumentedrecord component.Returns the value of thepropertyPathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CdsPropertyLoggingContext
public CdsPropertyLoggingContext(Object defaultValue, Object actualValue, String propertyPath, boolean isDeprecated, boolean isDocumented, boolean containsSensitiveData) Creates an instance of aCdsPropertyLoggingContextrecord class.- Parameters:
defaultValue- the value for thedefaultValuerecord componentactualValue- the value for theactualValuerecord componentpropertyPath- the value for thepropertyPathrecord componentisDeprecated- the value for theisDeprecatedrecord componentisDocumented- the value for theisDocumentedrecord componentcontainsSensitiveData- the value for thecontainsSensitiveDatarecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
defaultValue
Returns the value of thedefaultValuerecord component.- Returns:
- the value of the
defaultValuerecord component
-
actualValue
Returns the value of theactualValuerecord component.- Returns:
- the value of the
actualValuerecord component
-
propertyPath
Returns the value of thepropertyPathrecord component.- Returns:
- the value of the
propertyPathrecord component
-
isDeprecated
public boolean isDeprecated()Returns the value of theisDeprecatedrecord component.- Returns:
- the value of the
isDeprecatedrecord component
-
isDocumented
public boolean isDocumented()Returns the value of theisDocumentedrecord component.- Returns:
- the value of the
isDocumentedrecord component
-
containsSensitiveData
public boolean containsSensitiveData()Returns the value of thecontainsSensitiveDatarecord component.- Returns:
- the value of the
containsSensitiveDatarecord component
-