Class ProvenanceEntry
- java.lang.Object
-
- io.keyko.nevermined.models.AbstractModel
-
- io.keyko.nevermined.models.contracts.ProvenanceEntry
-
- All Implemented Interfaces:
FromJsonToModel
public class ProvenanceEntry extends AbstractModel implements FromJsonToModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProvenanceEntry.ProvenanceMethod
-
Field Summary
Fields Modifier and Type Field Description StringactivityIdStringagentIdStringagentInvolvedIdBigIntegerblockNumberUpdatedStringcreatedByDIDdidProvenanceEntry.ProvenanceMethodmethodDIDrelatedDidStringsignature-
Fields inherited from class io.keyko.nevermined.models.AbstractModel
DATE_FORMAT, DATE_PATTERN, logger
-
-
Constructor Summary
Constructors Constructor Description ProvenanceEntry(String did, String relatedDid, String agentId, String activityId, String agentInvolvedId, BigInteger method, String createdBy, BigInteger blockNumberUpdated, String signature)ProvenanceEntry(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
-
did
public DID did
-
relatedDid
public DID relatedDid
-
agentId
public String agentId
-
activityId
public String activityId
-
agentInvolvedId
public String agentInvolvedId
-
method
public ProvenanceEntry.ProvenanceMethod method
-
createdBy
public String createdBy
-
blockNumberUpdated
public BigInteger blockNumberUpdated
-
signature
public String signature
-
-
Constructor Detail
-
ProvenanceEntry
public ProvenanceEntry(String did, String relatedDid, String agentId, String activityId, String agentInvolvedId, BigInteger method, String createdBy, BigInteger blockNumberUpdated, String signature) throws DIDFormatException
- Throws:
DIDFormatException
-
ProvenanceEntry
public ProvenanceEntry(org.web3j.tuples.generated.Tuple9 tuple) throws DIDFormatException- Throws:
DIDFormatException
-
-