Record Class AbstractConfigurationWriter.Tag
java.lang.Object
java.lang.Record
org.infinispan.commons.configuration.io.AbstractConfigurationWriter.Tag
- Enclosing class:
AbstractConfigurationWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theexplicitInnerrecord component.booleanReturns the value of theexplicitOuterrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.booleanReturns the value of therepeatingrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Tag
-
Tag
Creates an instance of aTagrecord class.- Parameters:
name- the value for thenamerecord componentrepeating- the value for therepeatingrecord componentexplicitOuter- the value for theexplicitOuterrecord componentexplicitInner- the value for theexplicitInnerrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
repeating
public boolean repeating()Returns the value of therepeatingrecord component.- Returns:
- the value of the
repeatingrecord component
-
explicitOuter
public boolean explicitOuter()Returns the value of theexplicitOuterrecord component.- Returns:
- the value of the
explicitOuterrecord component
-
explicitInner
public boolean explicitInner()Returns the value of theexplicitInnerrecord component.- Returns:
- the value of the
explicitInnerrecord component
-