cn.hyperchain.sdk.common.hvm.HVMBeanAbi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of litesdk Show documentation
Show all versions of litesdk Show documentation
A Java client tool for Hyperchain
package cn.hyperchain.sdk.common.hvm;
import java.util.List;
/**
* @author houcc.
* @date 2020/10/15
*/
public class HVMBeanAbi {
private String version;
private String beanName;
private List inputs;
private Entry output;
private String classBytes;
private List structs;
private BeanType beanType;
/**
* the abi beanType value.
*/
public enum BeanType {
InvokeBean,
MethodBean
}
/**
* the abi inputs or outputs type.
*/
public static class Entry {
private String name;
private HVMType type;
private List properties;
private String structName;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public HVMType getType() {
return type;
}
public void setType(HVMType type) {
this.type = type;
}
public List getProperties() {
return properties;
}
public void setProperties(List properties) {
this.properties = properties;
}
public String getStructName() {
return structName;
}
public void setStructName(String structName) {
this.structName = structName;
}
}
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public String getBeanName() {
return beanName;
}
public void setBeanName(String beanName) {
this.beanName = beanName;
}
public List getInputs() {
return inputs;
}
public void setInputs(List inputs) {
this.inputs = inputs;
}
public Entry getOutput() {
return output;
}
public void setOutput(Entry output) {
this.output = output;
}
public String getClassBytes() {
return classBytes;
}
public void setClassBytes(String classBytes) {
this.classBytes = classBytes;
}
public List getStructs() {
return structs;
}
public void setStructs(List structs) {
this.structs = structs;
}
public BeanType getBeanType() {
return beanType;
}
public void setBeanType(BeanType beanType) {
this.beanType = beanType;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy