Record Class IgnoredFields
java.lang.Object
java.lang.Record
org.gcube.informationsystem.resourceregistry.persistence.IgnoredFields
- Record Components:
type- the type name of the instanceuuid- the UUID of the instance, the generated one when the payload omitted itfields- the names of the dropped fields
The fields of a submitted instance that a write dropped because its category does not accept
them, collected by the persistence layer and reported by the caller (e.g. as an
X-Warning).- Author:
- Luca Frosini (ISTI - CNR)
-
Constructor Summary
ConstructorsConstructorDescriptionIgnoredFields(String type, UUID uuid, Set<String> fields) Creates an instance of aIgnoredFieldsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fields()Returns the value of thefieldsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.uuid()Returns the value of theuuidrecord component.
-
Constructor Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
uuid
Returns the value of theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
fields
Returns the value of thefieldsrecord component.- Returns:
- the value of the
fieldsrecord component
-