Class AbiDefinition
- java.lang.Object
-
- org.web3j.protocol.core.methods.response.AbiDefinition
-
public class AbiDefinition extends java.lang.Object
AbiDefinition wrapper.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbiDefinition.NamedType
-
Constructor Summary
Constructors Constructor Description AbiDefinition()
AbiDefinition(boolean constant, java.util.List<AbiDefinition.NamedType> inputs, java.lang.String name, java.util.List<AbiDefinition.NamedType> outputs, java.lang.String type, boolean payable)
AbiDefinition(boolean constant, java.util.List<AbiDefinition.NamedType> inputs, java.lang.String name, java.util.List<AbiDefinition.NamedType> outputs, java.lang.String type, boolean payable, java.lang.String stateMutability)
AbiDefinition(AbiDefinition from)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.List<AbiDefinition.NamedType>
getInputs()
java.lang.String
getName()
java.util.List<AbiDefinition.NamedType>
getOutputs()
java.lang.String
getStateMutability()
java.lang.String
getType()
int
hashCode()
boolean
hasOutputs()
boolean
isConstant()
boolean
isPayable()
void
setConstant(boolean constant)
void
setInputs(java.util.List<AbiDefinition.NamedType> inputs)
void
setName(java.lang.String name)
void
setOutputs(java.util.List<AbiDefinition.NamedType> outputs)
void
setPayable(boolean payable)
void
setStateMutability(java.lang.String stateMutability)
void
setType(java.lang.String type)
-
-
-
Constructor Detail
-
AbiDefinition
public AbiDefinition()
-
AbiDefinition
public AbiDefinition(AbiDefinition from)
- Parameters:
from
-
-
AbiDefinition
public AbiDefinition(boolean constant, java.util.List<AbiDefinition.NamedType> inputs, java.lang.String name, java.util.List<AbiDefinition.NamedType> outputs, java.lang.String type, boolean payable)
- Parameters:
constant
-inputs
-name
-outputs
-type
-payable
-
-
AbiDefinition
public AbiDefinition(boolean constant, java.util.List<AbiDefinition.NamedType> inputs, java.lang.String name, java.util.List<AbiDefinition.NamedType> outputs, java.lang.String type, boolean payable, java.lang.String stateMutability)
- Parameters:
constant
-inputs
-name
-outputs
-type
-payable
-stateMutability
-
-
-
Method Detail
-
isConstant
public boolean isConstant()
- Returns:
-
setConstant
public void setConstant(boolean constant)
- Parameters:
constant
-
-
getInputs
public java.util.List<AbiDefinition.NamedType> getInputs()
- Returns:
-
setInputs
public void setInputs(java.util.List<AbiDefinition.NamedType> inputs)
- Parameters:
inputs
-
-
getName
public java.lang.String getName()
- Returns:
-
setName
public void setName(java.lang.String name)
- Parameters:
name
-
-
getOutputs
public java.util.List<AbiDefinition.NamedType> getOutputs()
- Returns:
-
hasOutputs
public boolean hasOutputs()
- Returns:
-
setOutputs
public void setOutputs(java.util.List<AbiDefinition.NamedType> outputs)
- Parameters:
outputs
-
-
getType
public java.lang.String getType()
- Returns:
-
setType
public void setType(java.lang.String type)
- Parameters:
type
-
-
isPayable
public boolean isPayable()
- Returns:
-
setPayable
public void setPayable(boolean payable)
- Parameters:
payable
-
-
getStateMutability
public java.lang.String getStateMutability()
- Returns:
-
setStateMutability
public void setStateMutability(java.lang.String stateMutability)
- Parameters:
stateMutability
-
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-