Record Class AlloyXml.ClaferInfo
java.lang.Object
java.lang.Record
org.clafer.alloy.solve.AlloyXml.ClaferInfo
- Record Components:
ident- its namesuperName- the Alloy name of its super clafer, or nullreference- the primitive type of its own reference, e.g.,string, or null
- Enclosing class:
AlloyXml
public static record AlloyXml.ClaferInfo(String ident, String superName, String reference)
extends Record
What the names of the instances need of a clafer, by its Alloy name.
-
Constructor Summary
ConstructorsConstructorDescriptionClaferInfo(String ident, String superName, String reference) Creates an instance of aClaferInforecord 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.ident()Returns the value of theidentrecord component.Returns the value of thereferencerecord component.Returns the value of thesuperNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ClaferInfo
-
-
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). -
ident
-
superName
-
reference
-