-
public final class Attachment
-
-
Field Summary
Fields Modifier and Type Field Description private final AttachmentTypetypeprivate final Payloadpayload
-
Constructor Summary
Constructors Constructor Description Attachment(AttachmentType type, Payload payload)
-
Method Summary
Modifier and Type Method Description final AttachmentTypecomponent1()final Payloadcomponent2()final Attachmentcopy(AttachmentType type, Payload payload)final AttachmentTypegetType()final PayloadgetPayload()-
-
Constructor Detail
-
Attachment
Attachment(AttachmentType type, Payload payload)
-
-
Method Detail
-
component1
final AttachmentType component1()
-
component2
final Payload component2()
-
copy
final Attachment copy(AttachmentType type, Payload payload)
-
getType
final AttachmentType getType()
-
getPayload
final Payload getPayload()
-
-
-
-