no.digipost.api.client.representations
Class Message

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

public class Message
extends Representation


Field Summary
 
Fields inherited from class no.digipost.api.client.representations.Representation
links
 
Constructor Summary
Message(String messageId, String subject, RecipientIdentifier recipientIdentifier, boolean smsNotification, AuthenticationLevel authenticationLevel, Link... links)
           
Message(String messageId, String subject, RecipientIdentifier recipientIdentifier, boolean smsNotification, MessageStatus status, AuthenticationLevel authenticationLevel, Link... links)
           
 
Method Summary
 AuthenticationLevel getAuthenticationLevel()
           
protected  String getDigipostAddress()
           
 Link getFileLink()
           
protected  List<Link> getLink()
           
 String getMessageId()
           
protected  String getPersonalIdentificationNumber()
           
 RecipientIdentifier getRecipientIdentifier()
           
 Link getSelfLink()
           
 MessageStatus getStatus()
           
 String getSubject()
           
 boolean hasSubject()
           
 boolean isIdenticalTo(Message message)
           
 boolean isSmsNotification()
           
protected  void setDigipostAddress(String digipostAddress)
           
protected  void setLink(List<Link> links)
           
protected  void setPersonalIdentificationNumber(String personalIdentificationNumber)
           
 void setStatus(MessageStatus status)
           
 
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
 

Constructor Detail

Message

public Message(String messageId,
               String subject,
               RecipientIdentifier recipientIdentifier,
               boolean smsNotification,
               AuthenticationLevel authenticationLevel,
               Link... links)

Message

public Message(String messageId,
               String subject,
               RecipientIdentifier recipientIdentifier,
               boolean smsNotification,
               MessageStatus status,
               AuthenticationLevel authenticationLevel,
               Link... links)
Method Detail

getSelfLink

public Link getSelfLink()

getFileLink

public Link getFileLink()

getSubject

public String getSubject()

getStatus

public MessageStatus getStatus()

hasSubject

public boolean hasSubject()

getMessageId

public String getMessageId()

isSmsNotification

public boolean isSmsNotification()

isIdenticalTo

public boolean isIdenticalTo(Message message)

getRecipientIdentifier

public RecipientIdentifier getRecipientIdentifier()

getAuthenticationLevel

public AuthenticationLevel getAuthenticationLevel()

getDigipostAddress

protected String getDigipostAddress()

setDigipostAddress

protected void setDigipostAddress(String digipostAddress)

getPersonalIdentificationNumber

protected String getPersonalIdentificationNumber()

setPersonalIdentificationNumber

protected void setPersonalIdentificationNumber(String personalIdentificationNumber)

setStatus

public void setStatus(MessageStatus status)

getLink

protected List<Link> getLink()

setLink

protected void setLink(List<Link> links)


Copyright © 2011 Digipost Open Source. All Rights Reserved.