public class ContractIOType
extends java.lang.Object
Constructor and Description |
---|
ContractIOType()
Creates a ContractIOType instance.
|
ContractIOType(java.lang.String name,
java.lang.String type,
boolean indexed)
Creates a ContractIOType instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ContractIOType> |
getComponents()
Getter function for components.
|
java.lang.String |
getName()
Getter function for name
|
java.lang.String |
getType()
Getter function for type
|
java.lang.String |
getTypeAsString()
Returns a type string.
|
boolean |
isIndexed()
Getter function for indexed
|
void |
setComponents(java.util.List<ContractIOType> components)
Setter function for components
|
void |
setIndexed(boolean indexed)
Setter function for indexed
|
void |
setName(java.lang.String name)
Setter function for name
|
void |
setType(java.lang.String type)
Setter function for type.
|
public ContractIOType()
public ContractIOType(java.lang.String name, java.lang.String type, boolean indexed)
name
- The name of the parameter.type
- A solidity type of parameter.indexed
- The location of parameter. True if the field is part of the log’s topics, false if it one of the log’s data segment.public java.lang.String getName()
public java.lang.String getType()
public java.util.List<ContractIOType> getComponents()
public boolean isIndexed()
public void setName(java.lang.String name)
name
- parameter namepublic void setType(java.lang.String type)
type
- solidity type.public void setIndexed(boolean indexed)
indexed
- The location of parameter. True if the field is part of the log’s topics, false if it one of the log’s data segment.public void setComponents(java.util.List<ContractIOType> components)
components
- The tuple's components list.public java.lang.String getTypeAsString()