/* | |
* Copyright (c) Robert Bosch GmbH. All rights reserved. | |
*/ | |
package org.eclipse.blockchain.core; | |
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | |
/** | |
* @author ADG5COB | |
*/ | |
@JsonIgnoreProperties(ignoreUnknown = true) | |
public class SolidityABI { | |
private String type = ""; | |
private IOABI[] inputs; | |
private IOABI[] outputs; | |
private String name = ""; | |
private boolean payable; | |
private String stateMutability = ""; | |
/** | |
* @return the stateMutability | |
*/ | |
public String getStateMutability() { | |
return this.stateMutability; | |
} | |
/** | |
* @param stateMutability the stateMutability to set | |
*/ | |
public void setStateMutability(final String stateMutability) { | |
this.stateMutability = stateMutability; | |
} | |
/** | |
* @return the payable | |
*/ | |
public boolean isPayable() { | |
return this.payable; | |
} | |
/** | |
* @param payable the payable to set | |
*/ | |
public void setPayable(final boolean payable) { | |
this.payable = payable; | |
} | |
/** | |
* @return the type | |
*/ | |
public String getType() { | |
return this.type; | |
} | |
/** | |
* @param type the type to set | |
*/ | |
public void setType(final String type) { | |
this.type = type; | |
} | |
/** | |
* @return the inputs | |
*/ | |
public IOABI[] getInputs() { | |
return this.inputs; | |
} | |
/** | |
* @param inputs the inputs to set | |
*/ | |
public void setInputs(final IOABI[] inputs) { | |
this.inputs = inputs; | |
} | |
/** | |
* @return the outputs | |
*/ | |
public IOABI[] getOutputs() { | |
return this.outputs; | |
} | |
/** | |
* @param outputs the outputs to set | |
*/ | |
public void setOutputs(final IOABI[] outputs) { | |
this.outputs = outputs; | |
} | |
/** | |
* @return the name | |
*/ | |
public String getName() { | |
return this.name; | |
} | |
/** | |
* @param name the name to set | |
*/ | |
public void setName(final String name) { | |
this.name = name; | |
} | |
} |