All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hyperledger.fabric.contract.routing.TxFunction Maven / Gradle / Ivy

There is a newer version: 2.5.3
Show newest version
/*
Copyright IBM Corp. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/
package org.hyperledger.fabric.contract.routing;

import java.lang.reflect.Method;
import java.util.List;

import org.hyperledger.fabric.contract.ContractInterface;
import org.hyperledger.fabric.contract.metadata.TypeSchema;

public interface TxFunction {

    interface Routing {

        Method getMethod();

        Class getContractClass();

        ContractInterface getContractInstance() throws InstantiationException, IllegalAccessException;

    }

    boolean isUnknownTx();

    void setUnknownTx(boolean unknown);

    String getName();

    Routing getRouting();

    Class getReturnType();

    java.lang.reflect.Parameter[] getParameters();

    TransactionType getType();

    void setReturnSchema(TypeSchema returnSchema);

    TypeSchema getReturnSchema();

    void setParameterDefinitions(List list);

    List getParamsList();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy