java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Boc.ParamsOfEncodeTvc
- Record Components:
code
- Contract code BOC encoded as base64 or BOC handledata
- Contract data BOC encoded as base64 or BOC handlelibrary
- Contract library BOC encoded as base64 or BOC handletick
- Specifies the contract ability to handle tick transactions `special.tick` field.tock
- Specifies the contract ability to handle tock transactions `special.tock` field.splitDepth
- Is present and non-zero only in instances of large smart contractsbocCache
- Cache type to put the result. The BOC itself returned if no cache type provided.
- Enclosing class:
Boc
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfEncodeTvc
(String code, String data, String library, Boolean tick, Boolean tock, Integer splitDepth, Boc.BocCacheType bocCache) Creates an instance of aParamsOfEncodeTvc
record class. -
Method Summary
Modifier and TypeMethodDescriptionbocCache()
Returns the value of thebocCache
record component.code()
Returns the value of thecode
record component.data()
Returns the value of thedata
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.library()
Returns the value of thelibrary
record component.Returns the value of thesplitDepth
record component.tick()
Returns the value of thetick
record component.tock()
Returns the value of thetock
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfEncodeTvc
public ParamsOfEncodeTvc(String code, String data, String library, Boolean tick, Boolean tock, Integer splitDepth, Boc.BocCacheType bocCache) Creates an instance of aParamsOfEncodeTvc
record class.- Parameters:
code
- the value for thecode
record componentdata
- the value for thedata
record componentlibrary
- the value for thelibrary
record componenttick
- the value for thetick
record componenttock
- the value for thetock
record componentsplitDepth
- the value for thesplitDepth
record componentbocCache
- the value for thebocCache
record component
-
-
Method Details
-
toString
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()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
code
Returns the value of thecode
record component.- Returns:
- the value of the
code
record component
-
data
Returns the value of thedata
record component.- Returns:
- the value of the
data
record component
-
library
Returns the value of thelibrary
record component.- Returns:
- the value of the
library
record component
-
tick
Returns the value of thetick
record component.- Returns:
- the value of the
tick
record component
-
tock
Returns the value of thetock
record component.- Returns:
- the value of the
tock
record component
-
splitDepth
Returns the value of thesplitDepth
record component.- Returns:
- the value of the
splitDepth
record component
-
bocCache
Returns the value of thebocCache
record component.- Returns:
- the value of the
bocCache
record component
-