Record Class RelationDetail.Predicate
java.lang.Object
java.lang.Record
tools.refinery.language.semantics.metadata.RelationDetail.Predicate
- All Implemented Interfaces:
RelationDetail
- Enclosing interface:
RelationDetail
public static record RelationDetail.Predicate(PredicateDetailKind kind)
extends Record
implements RelationDetail
-
Nested Class Summary
Nested classes/interfaces inherited from interface RelationDetail
RelationDetail.Attribute, RelationDetail.Class, RelationDetail.Computed, RelationDetail.Domain, RelationDetail.Function, RelationDetail.Opposite, RelationDetail.Predicate, RelationDetail.Reference -
Constructor Summary
ConstructorsConstructorDescriptionPredicate(PredicateDetailKind kind) Creates an instance of aPredicaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Predicate
Creates an instance of aPredicaterecord class.- Parameters:
kind- the value for thekindrecord component
-
-
Method Details
-
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). -
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-