no.digipost.api.client.representations
Class PrintMessage

java.lang.Object
  extended by no.digipost.api.client.representations.Representation
      extended by no.digipost.api.client.representations.MessageBase
          extended by no.digipost.api.client.representations.PrintMessage

public class PrintMessage
extends MessageBase


Field Summary
protected  String postType
           
protected  PrintRecipient recipient
           
protected  PrintRecipient returnAddress
           
protected  PrintMessageStatus status
           
 
Fields inherited from class no.digipost.api.client.representations.MessageBase
messageId, preEncrypt, senderId
 
Fields inherited from class no.digipost.api.client.representations.Representation
links
 
Constructor Summary
PrintMessage()
           
PrintMessage(String messageId, PrintRecipient recipient, PrintRecipient returnAddress, String postType, Link... links)
           
 
Method Summary
protected  List<Link> getLinks()
           
 String getPostType()
           
 PrintRecipient getRecipient()
           
 PrintRecipient getReturnAddress()
           
 PrintMessageStatus getStatus()
           
 boolean isSameMessageAs(Object message)
           
protected  void setLinks(List<Link> links)
           
 void setPostType(String value)
           
 void setRecipient(PrintRecipient value)
           
 void setReturnAddress(PrintRecipient value)
           
 void setStatus(PrintMessageStatus value)
           
 
Methods inherited from class no.digipost.api.client.representations.MessageBase
getAddContentAndSendLink, getEncryptionKeyLink, getMessageId, getSelfLink, getSenderId, setMessageId, setPreEncrypt, setSenderId, skalPrekrypteres
 
Methods inherited from class no.digipost.api.client.representations.Representation
addLink, getLinkByRelationName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recipient

protected PrintRecipient recipient

returnAddress

protected PrintRecipient returnAddress

postType

protected String postType

status

protected PrintMessageStatus status
Constructor Detail

PrintMessage

public PrintMessage()

PrintMessage

public PrintMessage(String messageId,
                    PrintRecipient recipient,
                    PrintRecipient returnAddress,
                    String postType,
                    Link... links)
Method Detail

getRecipient

public PrintRecipient getRecipient()

setRecipient

public void setRecipient(PrintRecipient value)

getReturnAddress

public PrintRecipient getReturnAddress()

setReturnAddress

public void setReturnAddress(PrintRecipient value)

getPostType

public String getPostType()

setPostType

public void setPostType(String value)

getStatus

public PrintMessageStatus getStatus()

setStatus

public void setStatus(PrintMessageStatus value)

getLinks

protected List<Link> getLinks()

setLinks

protected void setLinks(List<Link> links)

isSameMessageAs

public boolean isSameMessageAs(Object message)
Specified by:
isSameMessageAs in class MessageBase


Copyright © 2012 Digipost Open Source. All Rights Reserved.