Class ProvenanceEvent
- java.lang.Object
-
- io.keyko.nevermined.models.AbstractModel
-
- io.keyko.nevermined.models.contracts.ProvenanceEvent
-
- All Implemented Interfaces:
FromJsonToModel
public class ProvenanceEvent extends AbstractModel implements FromJsonToModel
-
-
Field Summary
Fields Modifier and Type Field Description StringactivityIdStringagentIdStringagentInvolvedIdStringattributesBigIntegerblockNumberUpdatedDIDdidProvenanceEntry.ProvenanceMethodmethodStringprovIdDIDrelatedDid-
Fields inherited from class io.keyko.nevermined.models.AbstractModel
DATE_FORMAT, DATE_PATTERN, logger
-
-
Constructor Summary
Constructors Constructor Description ProvenanceEvent(String provId, String did, String agentId, String activityId, String relatedDid, String agentInvolvedId, BigInteger method, String attributes, BigInteger blockNumberUpdated)ProvenanceEvent(org.web3j.tuples.generated.Tuple9 tuple)
-
Method Summary
-
Methods inherited from class io.keyko.nevermined.models.AbstractModel
checksum, convertToModel, fromJSON, getDateNowFormatted, getMapperInstance, toJson, toJson
-
-
-
-
Field Detail
-
provId
public String provId
-
did
public DID did
-
agentId
public String agentId
-
activityId
public String activityId
-
relatedDid
public DID relatedDid
-
agentInvolvedId
public String agentInvolvedId
-
method
public ProvenanceEntry.ProvenanceMethod method
-
attributes
public String attributes
-
blockNumberUpdated
public BigInteger blockNumberUpdated
-
-
Constructor Detail
-
ProvenanceEvent
public ProvenanceEvent(String provId, String did, String agentId, String activityId, String relatedDid, String agentInvolvedId, BigInteger method, String attributes, BigInteger blockNumberUpdated) throws DIDFormatException
- Throws:
DIDFormatException
-
ProvenanceEvent
public ProvenanceEvent(org.web3j.tuples.generated.Tuple9 tuple) throws DIDFormatException- Throws:
DIDFormatException
-
-