Record Class Symbols.GroupCard
java.lang.Object
java.lang.Record
org.clafer.frontend.Symbols.GroupCard
- Record Components:
keyword- whether it was written asxor,or,muxoropt: a child underoptis optional, under a written0..*mandatoryinterval- its interval
- Enclosing class:
Symbols
A group card.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Symbols.GroupCardThe group card of a clafer that has none and inherits none. -
Constructor Summary
ConstructorsConstructorDescriptionGroupCard(boolean keyword, Symbols.Interval interval) Creates an instance of aGroupCardrecord 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.interval()Returns the value of theintervalrecord component.booleankeyword()Returns the value of thekeywordrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Default
The group card of a clafer that has none and inherits none.
-
-
Constructor Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
keyword
-
interval
-