public class

MailItemProperty

extends ValueConstruct
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ValueConstruct
       ↳ com.google.gdata.data.appsforyourdomain.migration.MailItemProperty

Class Overview

Google Apps name space element: <apps:mailItemProperty>. Used to model an enumerable property about a mail item, such as whether it is to be marked as starred, read, trash, etc. when migrated into Gmail.

Summary

Constants
String ATTRIBUTE_VALUE
String EXTENSION_LOCAL_NAME the name of the GData element
Fields
public static final MailItemProperty DRAFT Property indicating that a mail item should be marked as a draft when inserted into Gmail.
private static ExtensionDescription EXTENSION_DESC the extension description is shared by all instances of this class
public static final MailItemProperty INBOX Property indicating that a mail item should appear in the inbox when inserted into Gmail.
public static final MailItemProperty SENT Property indicating that a mail item should appear in the list of sent messages when inserted into Gmail.
public static final MailItemProperty STARRED Property indicating that a mail item should be marked as starred when inserted into Gmail.
public static final MailItemProperty TRASH Property indicating that a mail item should be moved to the trash when inserted into Gmail.
public static final MailItemProperty UNREAD Property indicating that a mail item should be marked as unread when inserted into Gmail.
[Expand]
Inherited Fields
From class com.google.gdata.data.ValueConstruct
From class com.google.gdata.data.AbstractExtension
Public Constructors
MailItemProperty()
Constructs a MailItemProperty with no value.
MailItemProperty(MailItemProperty.MailItemAttribute value)
Constructs a MailItemProperty with the specified value.
Public Methods
static ExtensionDescription getDefaultDescription()
[Expand]
Inherited Methods
From class com.google.gdata.data.ValueConstruct
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension

Constants

private static final String ATTRIBUTE_VALUE

Constant Value: "value"

private static final String EXTENSION_LOCAL_NAME

the name of the GData element

Constant Value: "mailItemProperty"

Fields

public static final MailItemProperty DRAFT

Property indicating that a mail item should be marked as a draft when inserted into Gmail.

private static ExtensionDescription EXTENSION_DESC

the extension description is shared by all instances of this class

public static final MailItemProperty INBOX

Property indicating that a mail item should appear in the inbox when inserted into Gmail. By default, a message will not be placed in the inbox if it has any labels.

public static final MailItemProperty SENT

Property indicating that a mail item should appear in the list of sent messages when inserted into Gmail.

public static final MailItemProperty STARRED

Property indicating that a mail item should be marked as starred when inserted into Gmail. By default, migrated mail items are unstarred.

public static final MailItemProperty TRASH

Property indicating that a mail item should be moved to the trash when inserted into Gmail.

public static final MailItemProperty UNREAD

Property indicating that a mail item should be marked as unread when inserted into Gmail. By default, mail items are marked as read.

Public Constructors

public MailItemProperty ()

Constructs a MailItemProperty with no value.

public MailItemProperty (MailItemProperty.MailItemAttribute value)

Constructs a MailItemProperty with the specified value.

Parameters
value The MailItemAttribute value to use

Public Methods

public static ExtensionDescription getDefaultDescription ()

Returns
  • the description of this extension