Class InvitationMessage<T>
- java.lang.Object
-
- org.hyperledger.aries.api.out_of_band.InvitationMessage<T>
-
- Type Parameters:
T- tape of the service object eitherStringorInvitationMessage.InvitationMessageService
public class InvitationMessage<T> extends Object
Out Of Band Invitation MessageInvitationMessage<String> inviteString = gson.fromJson(inviteJson, InvitationMessage.STRING_TYPE); InvitationMessage<InvitationMessage.InvitationMessageService> complexType = gson.fromJson(inviteJson, InvitationMessage.RFC0067_TYPE);
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvitationMessage.InvitationMessageBuilder<T>static classInvitationMessage.InvitationMessageServiceDIDComm service object (as per RFC0067)
-
Field Summary
Fields Modifier and Type Field Description static TypeRFC0067_TYPEUsed to deserialize RFC0067 service typesstatic TypeSTRING_TYPEUsed to deserialize DID string service types
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> InvitationMessage.InvitationMessageBuilder<T>builder()protected booleancanEqual(Object other)booleanequals(Object o)List<String>getAccept()StringgetAtId()StringgetAtType()StringgetGoal()StringgetGoalCode()List<String>getHandshakeProtocols()StringgetLabel()List<AttachDecorator>getRequestsAttach()List<T>getServices()Either a DIDComm service object (as per RFC0067) or a DID string.inthashCode()voidsetAccept(List<String> accept)voidsetAtId(String atId)voidsetAtType(String atType)voidsetGoal(String goal)voidsetGoalCode(String goalCode)voidsetHandshakeProtocols(List<String> handshakeProtocols)voidsetLabel(String label)voidsetRequestsAttach(List<AttachDecorator> requestsAttach)voidsetServices(List<T> services)Either a DIDComm service object (as per RFC0067) or a DID string.StringtoString()
-
-
-
Method Detail
-
builder
public static <T> InvitationMessage.InvitationMessageBuilder<T> builder()
-
getAtId
public String getAtId()
-
getAtType
public String getAtType()
-
getLabel
public String getLabel()
-
getGoalCode
public String getGoalCode()
-
getGoal
public String getGoal()
-
getRequestsAttach
public List<AttachDecorator> getRequestsAttach()
-
getServices
public List<T> getServices()
Either a DIDComm service object (as per RFC0067) or a DID string.
-
setAtId
public void setAtId(String atId)
-
setAtType
public void setAtType(String atType)
-
setLabel
public void setLabel(String label)
-
setGoalCode
public void setGoalCode(String goalCode)
-
setGoal
public void setGoal(String goal)
-
setRequestsAttach
public void setRequestsAttach(List<AttachDecorator> requestsAttach)
-
setServices
public void setServices(List<T> services)
Either a DIDComm service object (as per RFC0067) or a DID string.
-
canEqual
protected boolean canEqual(Object other)
-
-