Record Class LegacyAugmentationIdentifier
java.lang.Object
java.lang.Record
org.opendaylight.yangtools.yang.data.codec.binfmt.LegacyAugmentationIdentifier
- All Implemented Interfaces:
LegacyPathArgument
@Deprecated(since="11.0.0")
public record LegacyAugmentationIdentifier(@NonNull com.google.common.collect.ImmutableSet<QName> childNames)
extends Record
implements LegacyPathArgument
Deprecated.
Representation of legacy
yang.data.api.YangInstanceIdentifier.AugmentationIdentifier.-
Constructor Summary
ConstructorsConstructorDescriptionLegacyAugmentationIdentifier(@NonNull com.google.common.collect.ImmutableSet<QName> childNames) Deprecated.Creates an instance of aLegacyAugmentationIdentifierrecord class. -
Method Summary
Modifier and TypeMethodDescription@NonNull com.google.common.collect.ImmutableSet<QName>Deprecated.Returns the value of thechildNamesrecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated.Returns a hash code value for this object.final StringtoString()Deprecated.Returns a string representation of this record class.
-
Constructor Details
-
LegacyAugmentationIdentifier
public LegacyAugmentationIdentifier(@NonNull com.google.common.collect.ImmutableSet<QName> childNames) Deprecated.Creates an instance of aLegacyAugmentationIdentifierrecord class.- Parameters:
childNames- the value for thechildNamesrecord component
-
-
Method Details
-
toString
Deprecated.Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.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). -
childNames
Deprecated.Returns the value of thechildNamesrecord component.- Returns:
- the value of the
childNamesrecord component
-