org.apache.james.util.mail.mdn
Class Disposition

java.lang.Object
  extended by org.apache.james.util.mail.mdn.Disposition

public class Disposition
extends java.lang.Object

Class Disposition encapsulating disposition information as defined by RFC 2298.


Constructor Summary
Disposition(DispositionActionMode actionMode, DispositionSendingMode sendingMode, DispositionType type)
          Constructor.
Disposition(DispositionActionMode actionMode, DispositionSendingMode sendingMode, DispositionType type, DispositionModifier[] modifiers)
          Constructor.
 
Method Summary
protected  DispositionActionMode getActionMode()
          Answer the Disposition Mode.
protected  DispositionModifier[] getDispositionModifiers()
          Answer the Disposition Modifiers.
protected  DispositionType getDispositionType()
          Answer the Disposition Type.
protected  DispositionSendingMode getSendingMode()
          Answer the Sending Mode.
protected  void setActionMode(DispositionActionMode dispostionMode)
          Set the Disposition Mode.
protected  void setDispositionModifiers(DispositionModifier[] dispostionModifiers)
          Set the Disposition Modifiers.
protected  void setDispositionType(DispositionType dispostionType)
          Set the Disposition Type.
protected  void setSendingMode(DispositionSendingMode sendingMode)
          Set the Sending Mode.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Disposition

public Disposition(DispositionActionMode actionMode,
                   DispositionSendingMode sendingMode,
                   DispositionType type)
Constructor.

Parameters:
actionMode -
sendingMode -
type -

Disposition

public Disposition(DispositionActionMode actionMode,
                   DispositionSendingMode sendingMode,
                   DispositionType type,
                   DispositionModifier[] modifiers)
Constructor.

Parameters:
actionMode -
sendingMode -
type -
modifiers -
Method Detail

getActionMode

protected DispositionActionMode getActionMode()
Answer the Disposition Mode.

Returns:
Returns the dispostionMode.

setActionMode

protected void setActionMode(DispositionActionMode dispostionMode)
Set the Disposition Mode.

Parameters:
dispostionMode - The dispostionMode to set.

getDispositionModifiers

protected DispositionModifier[] getDispositionModifiers()
Answer the Disposition Modifiers.

Returns:
Returns the dispostionModifiers.

setDispositionModifiers

protected void setDispositionModifiers(DispositionModifier[] dispostionModifiers)
Set the Disposition Modifiers.

Parameters:
dispostionModifiers - The dispostionModifiers to set.

getDispositionType

protected DispositionType getDispositionType()
Answer the Disposition Type.

Returns:
Returns the dispostionType.

setDispositionType

protected void setDispositionType(DispositionType dispostionType)
Set the Disposition Type.

Parameters:
dispostionType - The dispostionType to set.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

getSendingMode

protected DispositionSendingMode getSendingMode()
Answer the Sending Mode.

Returns:
Returns the sendingMode.

setSendingMode

protected void setSendingMode(DispositionSendingMode sendingMode)
Set the Sending Mode.

Parameters:
sendingMode - The sendingMode to set.


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.