public class

MapEntry

extends MediaEntry<E extends BaseEntry<E>>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.media.MediaEntry<E extends com.google.gdata.data.BaseEntry<E>>
           ↳ com.google.gdata.data.maps.MapEntry

Class Overview

Describes a map entry.

Summary

Constants
String KIND Map map category kind term value.
Fields
public static final Category CATEGORY Map map category kind category.
[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
MapEntry()
Default mutable constructor.
MapEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.
Public Methods
void addCustomProperty(CustomProperty customProperty)
Adds a new custom property.
void declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile.
Link getAtomAlternateLink()
Returns the link that provides the URI of an alternate format of the entry's or feed's contents.
Link getAtomFeedLink()
Returns the link that provides the URI of the full feed (without any query parameters).
BatchId getBatchId()
Returns the batch identifier.
BatchInterrupted getBatchInterrupted()
Returns the batch interruption information.
BatchOperation getBatchOperation()
Returns the batch operation.
BatchStatus getBatchStatus()
Returns the batch response status information.
List<CustomProperty> getCustomProperties()
Returns the custom properties.
Deleted getDeleted()
Returns the marker for deleted entries.
URL getFeatureFeedUrl()
Gets the URL of the enclosed feature feed.
FeedLink getFeedLink()
Returns the nested feed link.
ResourceId getResourceId()
Returns the resource id.
Link getViewLink()
Gets the URL of the view projection of the feature feed.
boolean hasBatchId()
Returns whether it has the batch identifier.
boolean hasBatchInterrupted()
Returns whether it has the batch interruption information.
boolean hasBatchOperation()
Returns whether it has the batch operation.
boolean hasBatchStatus()
Returns whether it has the batch response status information.
boolean hasCustomProperties()
Returns whether it has the custom properties.
boolean hasDeleted()
Returns whether it has the marker for deleted entries.
boolean hasFeedLink()
Returns whether it has the nested feed link.
boolean hasResourceId()
Returns whether it has the resource id.
void setBatchId(BatchId batchId)
Sets the batch identifier.
void setBatchInterrupted(BatchInterrupted batchInterrupted)
Sets the batch interruption information.
void setBatchOperation(BatchOperation batchOperation)
Sets the batch operation.
void setBatchStatus(BatchStatus batchStatus)
Sets the batch response status information.
void setDeleted(Deleted deleted)
Sets the marker for deleted entries.
void setFeedLink(FeedLink feedLink)
Sets the nested feed link.
void setResourceId(ResourceId resourceId)
Sets the resource id.
String toString()
Protected Methods
void validate()
Checks the attributes to see if there are any problems.
[Expand]
Inherited Methods
From class com.google.gdata.data.media.MediaEntry
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor
From interface com.google.gdata.data.media.IMediaEntry

Constants

public static final String KIND

Map map category kind term value.

Constant Value: "http://schemas.google.com/maps/2008#map"

Fields

public static final Category CATEGORY

Map map category kind category.

Public Constructors

public MapEntry ()

Default mutable constructor.

public MapEntry (BaseEntry<?> sourceEntry)

Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance.

Parameters
sourceEntry Source entry

Public Methods

public void addCustomProperty (CustomProperty customProperty)

Adds a new custom property.

Parameters
customProperty Custom property

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

Parameters
extProfile The ExtensionProfile to initialize.

public Link getAtomAlternateLink ()

Returns the link that provides the URI of an alternate format of the entry's or feed's contents.

Returns
  • Link that provides the URI of an alternate format of the entry's or feed's contents or null for none.

public Link getAtomFeedLink ()

Returns the link that provides the URI of the full feed (without any query parameters).

Returns
  • Link that provides the URI of the full feed (without any query parameters) or null for none.

public BatchId getBatchId ()

Returns the batch identifier.

Returns
  • batch identifier

public BatchInterrupted getBatchInterrupted ()

Returns the batch interruption information.

Returns
  • batch interruption information

public BatchOperation getBatchOperation ()

Returns the batch operation.

Returns
  • batch operation

public BatchStatus getBatchStatus ()

Returns the batch response status information.

Returns
  • batch response status information

public List<CustomProperty> getCustomProperties ()

Returns the custom properties.

Returns
  • custom properties

public Deleted getDeleted ()

Returns the marker for deleted entries.

Returns
  • marker for deleted entries

public URL getFeatureFeedUrl ()

Gets the URL of the enclosed feature feed.

Returns
  • URL to the enclosed feed or null

public FeedLink getFeedLink ()

Returns the nested feed link.

Returns
  • nested feed link

public ResourceId getResourceId ()

Returns the resource id.

Returns
  • resource id

public Link getViewLink ()

Gets the URL of the view projection of the feature feed.

Returns
  • URL of the view projection of the feature feed or null

public boolean hasBatchId ()

Returns whether it has the batch identifier.

Returns
  • whether it has the batch identifier

public boolean hasBatchInterrupted ()

Returns whether it has the batch interruption information.

Returns
  • whether it has the batch interruption information

public boolean hasBatchOperation ()

Returns whether it has the batch operation.

Returns
  • whether it has the batch operation

public boolean hasBatchStatus ()

Returns whether it has the batch response status information.

Returns
  • whether it has the batch response status information

public boolean hasCustomProperties ()

Returns whether it has the custom properties.

Returns
  • whether it has the custom properties

public boolean hasDeleted ()

Returns whether it has the marker for deleted entries.

Returns
  • whether it has the marker for deleted entries

public boolean hasFeedLink ()

Returns whether it has the nested feed link.

Returns
  • whether it has the nested feed link

public boolean hasResourceId ()

Returns whether it has the resource id.

Returns
  • whether it has the resource id

public void setBatchId (BatchId batchId)

Sets the batch identifier.

Parameters
batchId Batch identifier or null to reset

public void setBatchInterrupted (BatchInterrupted batchInterrupted)

Sets the batch interruption information.

Parameters
batchInterrupted Batch interruption information or null to reset

public void setBatchOperation (BatchOperation batchOperation)

Sets the batch operation.

Parameters
batchOperation Batch operation or null to reset

public void setBatchStatus (BatchStatus batchStatus)

Sets the batch response status information.

Parameters
batchStatus Batch response status information or null to reset

public void setDeleted (Deleted deleted)

Sets the marker for deleted entries.

Parameters
deleted Marker for deleted entries or null to reset

public void setFeedLink (FeedLink feedLink)

Sets the nested feed link.

Parameters
feedLink Nested feed link or null to reset

public void setResourceId (ResourceId resourceId)

Sets the resource id.

Parameters
resourceId Resource id or null to reset

public String toString ()

Protected Methods

protected void validate ()

Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.