Record Class TypeId
java.lang.Object
java.lang.Record
dev.archunitjava.graph.TypeId
- All Implemented Interfaces:
StableId, Comparable<StableId>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebinaryNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static TypeIdofBinaryName(String name) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TypeId
Creates an instance of aTypeIdrecord class.- Parameters:
binaryName- the value for thebinaryNamerecord component
-
-
Method Details
-
ofBinaryName
-
stableKey
-
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). -
binaryName
Returns the value of thebinaryNamerecord component.- Returns:
- the value of the
binaryNamerecord component
-