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 aTvmNetworkrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexceptionsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thenetworkIdrecord component.Returns the value of thenetworkNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TvmNetwork
Creates an instance of aTvmNetworkrecord class.- Parameters:
networkId- the value for thenetworkIdrecord componentnetworkName- the value for thenetworkNamerecord componentexceptions- the value for theexceptionsrecord 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 thenetworkIdrecord component.- Returns:
- the value of the
networkIdrecord component
-
networkName
Returns the value of thenetworkNamerecord component.- Returns:
- the value of the
networkNamerecord component
-
exceptions
Returns the value of theexceptionsrecord component.- Returns:
- the value of the
exceptionsrecord component
-