public class TokenTypeManager extends Object
| Constructor and Description |
|---|
TokenTypeManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addType(String type,
Map<String,List<String>> attributes) |
void |
deleteType(String type) |
List<String> |
getAttribute(String type,
String attribute) |
Map<String,Map<String,List<String>>> |
getTable() |
Map<String,List<String>> |
getType(String type) |
boolean |
hasAttribute(String tokenType,
String attribute) |
boolean |
hasType(String type) |
static TokenTypeManager |
load(org.hyperledger.fabric.shim.ChaincodeStub stub) |
void |
store(org.hyperledger.fabric.shim.ChaincodeStub stub) |
public static TokenTypeManager load(org.hyperledger.fabric.shim.ChaincodeStub stub) throws IOException
IOExceptionpublic void store(org.hyperledger.fabric.shim.ChaincodeStub stub)
throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic boolean hasType(String type)
public void deleteType(String type)
Copyright © 2020. All rights reserved.