Record Class RelationDetail.Domain
java.lang.Object
java.lang.Record
tools.refinery.language.semantics.metadata.RelationDetail.Domain
- All Implemented Interfaces:
RelationDetail
- Enclosing interface:
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
Constructors -
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.of()Returns the value of theofrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Domain
Creates an instance of aDomainrecord class.- Parameters:
of- the value for theofrecord 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). -
of
Returns the value of theofrecord component.- Returns:
- the value of the
ofrecord component
-