public class

PositionQuery

extends Query
java.lang.Object
   ↳ com.google.gdata.client.Query
     ↳ com.google.gdata.client.finance.PositionQuery

Class Overview

Describes a query for the feed of all the positions belonging to the portfolio.

Summary

[Expand]
Inherited Constants
From class com.google.gdata.client.Query
Fields
private Boolean includeReturns Flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.
private Boolean inlineTransactions Flag to inline transactions under the position feed.
[Expand]
Inherited Fields
From class com.google.gdata.client.Query
Public Constructors
PositionQuery(URL feedUrl)
Constructs a new query object that targets a feed.
Public Methods
Boolean getIncludeReturns()
Returns the flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.
Boolean getInlineTransactions()
Returns the flag to inline transactions under the position feed.
void setIncludeReturns(Boolean includeReturns)
Sets the flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.
void setInlineTransactions(Boolean inlineTransactions)
Sets the flag to inline transactions under the position feed.
[Expand]
Inherited Methods
From class com.google.gdata.client.Query
From class java.lang.Object

Fields

private Boolean includeReturns

Flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.

private Boolean inlineTransactions

Flag to inline transactions under the position feed.

Public Constructors

public PositionQuery (URL feedUrl)

Constructs a new query object that targets a feed. The initial state of the query contains no parameters, meaning all entries in the feed would be returned if the query was executed immediately after construction.

Parameters
feedUrl The URL of the feed against which queries will be executed.

Public Methods

public Boolean getIncludeReturns ()

Returns the flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.

Returns
  • flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.

public Boolean getInlineTransactions ()

Returns the flag to inline transactions under the position feed.

Returns
  • flag to inline transactions under the position feed.

public void setIncludeReturns (Boolean includeReturns)

Sets the flag indicating whether returns and performance stats should be included in the portfolio and position feed entries.

Parameters
includeReturns Flag indicating whether returns and performance stats should be included in the portfolio and position feed entries or null to reset this parameter to default value false.

public void setInlineTransactions (Boolean inlineTransactions)

Sets the flag to inline transactions under the position feed.

Parameters
inlineTransactions Flag to inline transactions under the position feed or null to reset this parameter to default value false.