Package overit.geocall.edm.model
Record Class IndexProperties
java.lang.Object
java.lang.Record
overit.geocall.edm.model.IndexProperties
- Record Components:
name-Stringabout the index name.description-Stringabout the index description.fields-List<String> about the list of fields that make up the index.unique-booleanrelating to whether the index is unique or not.addReverse-booleanrelating to whether or not the index should also be added in reverse order.
- All Implemented Interfaces:
Serializable
public record IndexProperties(String name, String description, List<String> fields, boolean unique, boolean addReverse)
extends Record
implements Serializable
Record about an
EDM entity index properties.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIndexProperties(String name, String description, List<String> fields, boolean unique, boolean addReverse) Creates an instance of aIndexPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theaddReverserecord component.Returns the value of thedescriptionrecord component.final 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.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.booleanunique()Returns the value of theuniquerecord component.
-
Constructor Details
-
IndexProperties
public IndexProperties(String name, String description, List<String> fields, boolean unique, boolean addReverse) Creates an instance of aIndexPropertiesrecord class.- Parameters:
name- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentfields- the value for thefieldsrecord componentunique- the value for theuniquerecord componentaddReverse- the value for theaddReverserecord 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 '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
fields
Returns the value of thefieldsrecord component.- Returns:
- the value of the
fieldsrecord component
-
unique
public boolean unique()Returns the value of theuniquerecord component.- Returns:
- the value of the
uniquerecord component
-
addReverse
public boolean addReverse()Returns the value of theaddReverserecord component.- Returns:
- the value of the
addReverserecord component
-