java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.TvmNetwork
public record TvmNetwork(Integer networkId, String networkName, TvmExceptions exceptions)
extends Record
The type Tvm network.
-
Constructor Summary
ConstructorsConstructorDescriptionTvmNetwork
(Integer networkId, String networkName, TvmExceptions exceptions) Creates an instance of aTvmNetwork
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexceptions
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thenetworkId
record component.Returns the value of thenetworkName
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
TvmNetwork
Creates an instance of aTvmNetwork
record class.- Parameters:
networkId
- the value for thenetworkId
record componentnetworkName
- the value for thenetworkName
record componentexceptions
- the value for theexceptions
record 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. All components in this record class are compared withObjects::equals(Object,Object)
. -
networkId
Returns the value of thenetworkId
record component.- Returns:
- the value of the
networkId
record component
-
networkName
Returns the value of thenetworkName
record component.- Returns:
- the value of the
networkName
record component
-
exceptions
Returns the value of theexceptions
record component.- Returns:
- the value of the
exceptions
record component
-