no.digipost.api.client.representations
Class MessageBase

java.lang.Object
  extended by no.digipost.api.client.representations.Representation
      extended by no.digipost.api.client.representations.MessageBase
Direct Known Subclasses:
Message, PrintMessage

public abstract class MessageBase
extends Representation


Field Summary
protected  String messageId
           
protected  Boolean preEncrypt
           
protected  Long senderId
           
 
Fields inherited from class no.digipost.api.client.representations.Representation
links
 
Constructor Summary
protected MessageBase()
           
  MessageBase(String messageId, Link... links)
           
 
Method Summary
 Link getAddContentAndSendLink()
           
 Link getEncryptionKeyLink()
           
 String getMessageId()
           
 Link getSelfLink()
           
 Long getSenderId()
           
abstract  boolean isSameMessageAs(Object message)
           
 void setMessageId(String messageId)
           
 void setPreEncrypt(Boolean preEncrypt)
           
 void setSenderId(Long senderId)
           
 boolean 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

messageId

protected String messageId

senderId

protected Long senderId

preEncrypt

protected Boolean preEncrypt
Constructor Detail

MessageBase

protected MessageBase()

MessageBase

public MessageBase(String messageId,
                   Link... links)
Method Detail

getMessageId

public String getMessageId()

setMessageId

public void setMessageId(String messageId)

getSenderId

public Long getSenderId()

setSenderId

public void setSenderId(Long senderId)

setPreEncrypt

public void setPreEncrypt(Boolean preEncrypt)

skalPrekrypteres

public boolean skalPrekrypteres()

getSelfLink

public Link getSelfLink()

getAddContentAndSendLink

public Link getAddContentAndSendLink()

getEncryptionKeyLink

public Link getEncryptionKeyLink()

isSameMessageAs

public abstract boolean isSameMessageAs(Object message)


Copyright © 2012 Digipost Open Source. All Rights Reserved.