Class BaseCredExRecord
- java.lang.Object
-
- org.hyperledger.aries.api.issue_credential_v1.BaseCredExRecord
-
- All Implemented Interfaces:
CredExStateTranslator
- Direct Known Subclasses:
V1CredentialExchange,V20CredExRecord
public abstract class BaseCredExRecord extends Object implements CredExStateTranslator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBaseCredExRecord.BaseCredExRecordBuilder<C extends BaseCredExRecord,B extends BaseCredExRecord.BaseCredExRecordBuilder<C,B>>
-
Constructor Summary
Constructors Modifier Constructor Description BaseCredExRecord()BaseCredExRecord(Boolean autoIssue, Boolean autoOffer, Boolean autoRemove, Boolean trace, String connectionId, String credentialExchangeId, String threadId, String parentThreadId, String createdAt, String updatedAt, CredentialExchangeInitiator initiator, CredentialExchangeRole role, CredentialExchangeState state, String errorMsg)protectedBaseCredExRecord(BaseCredExRecord.BaseCredExRecordBuilder<?,?> b)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hyperledger.aries.api.issue_credential_v1.CredExStateTranslator
roleIsHolder, roleIsIssuer, stateIsAbandoned, stateIsCredentialAcked, stateIsCredentialIssued, stateIsCredentialReceived, stateIsDeclined, stateIsDone, stateIsNotDeclined, stateIsOfferReceived, stateIsOfferSent, stateIsProblem, stateIsProposalReceived, stateIsProposalSent, stateIsRequestReceived, stateIsRequestSent, stateIsRevoked
-
-
-
-
Constructor Detail
-
BaseCredExRecord
protected BaseCredExRecord(BaseCredExRecord.BaseCredExRecordBuilder<?,?> b)
-
BaseCredExRecord
public BaseCredExRecord()
-
BaseCredExRecord
public BaseCredExRecord(Boolean autoIssue, Boolean autoOffer, Boolean autoRemove, Boolean trace, String connectionId, String credentialExchangeId, String threadId, String parentThreadId, String createdAt, String updatedAt, CredentialExchangeInitiator initiator, CredentialExchangeRole role, CredentialExchangeState state, String errorMsg)
-
-
Method Detail
-
initiatorIsSelf
public boolean initiatorIsSelf()
-
initiatorIsExternal
public boolean initiatorIsExternal()
-
autoIssueEnabled
public boolean autoIssueEnabled()
-
autoIssueOff
public boolean autoIssueOff()
-
autoOfferEnabled
public boolean autoOfferEnabled()
-
autoRemoveEnabled
public boolean autoRemoveEnabled()
-
toV1Builder
public V1CredentialExchange.V1CredentialExchangeBuilder toV1Builder()
-
getAutoIssue
public Boolean getAutoIssue()
-
getAutoOffer
public Boolean getAutoOffer()
-
getAutoRemove
public Boolean getAutoRemove()
-
getTrace
public Boolean getTrace()
-
getConnectionId
public String getConnectionId()
-
getCredentialExchangeId
public String getCredentialExchangeId()
-
getThreadId
public String getThreadId()
-
getParentThreadId
public String getParentThreadId()
-
getCreatedAt
public String getCreatedAt()
-
getUpdatedAt
public String getUpdatedAt()
-
getInitiator
public CredentialExchangeInitiator getInitiator()
-
getRole
public CredentialExchangeRole getRole()
- Specified by:
getRolein interfaceCredExStateTranslator
-
getState
public CredentialExchangeState getState()
- Specified by:
getStatein interfaceCredExStateTranslator
-
getErrorMsg
public String getErrorMsg()
-
setAutoIssue
public void setAutoIssue(Boolean autoIssue)
-
setAutoOffer
public void setAutoOffer(Boolean autoOffer)
-
setAutoRemove
public void setAutoRemove(Boolean autoRemove)
-
setTrace
public void setTrace(Boolean trace)
-
setConnectionId
public void setConnectionId(String connectionId)
-
setCredentialExchangeId
public void setCredentialExchangeId(String credentialExchangeId)
-
setThreadId
public void setThreadId(String threadId)
-
setParentThreadId
public void setParentThreadId(String parentThreadId)
-
setCreatedAt
public void setCreatedAt(String createdAt)
-
setUpdatedAt
public void setUpdatedAt(String updatedAt)
-
setInitiator
public void setInitiator(CredentialExchangeInitiator initiator)
-
setRole
public void setRole(CredentialExchangeRole role)
-
setState
public void setState(CredentialExchangeState state)
-
setErrorMsg
public void setErrorMsg(String errorMsg)
-
canEqual
protected boolean canEqual(Object other)
-
-