| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.finance.PortfolioData | ||
Data for the portfolio.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | CURRENCYCODE | XML "currencyCode" attribute name | |||||||||
| String | GAINPERCENTAGE | XML "gainPercentage" attribute name | |||||||||
| String | RETURN1W | XML "return1w" attribute name | |||||||||
| String | RETURN1Y | XML "return1y" attribute name | |||||||||
| String | RETURN3M | XML "return3m" attribute name | |||||||||
| String | RETURN3Y | XML "return3y" attribute name | |||||||||
| String | RETURN4W | XML "return4w" attribute name | |||||||||
| String | RETURN5Y | XML "return5y" attribute name | |||||||||
| String | RETURNOVERALL | XML "returnOverall" attribute name | |||||||||
| String | RETURNYTD | XML "returnYTD" attribute name | |||||||||
| String | XML_NAME | XML element name | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| currencyCode | ISO4217 currency code | ||||||||||
| gainPercentage | Percentage gain | ||||||||||
| return1w | 1 week return (percentage) | ||||||||||
| return1y | 1 year return (percentage) | ||||||||||
| return3m | 3 month return (percentage) | ||||||||||
| return3y | 3 year return (percentage) | ||||||||||
| return4w | 4 week return (percentage) | ||||||||||
| return5y | 5 year return (percentage) | ||||||||||
| returnOverall | Overall return (percentage) | ||||||||||
| returnYTD | Year-to-date return (percentage) | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default mutable constructor.
| |||||||||||
Immutable constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
| |||||||||||
Returns the cost basis of the portfolio in the portfolio default currency.
| |||||||||||
Returns the ISO4217 currency code.
| |||||||||||
Returns the today's gain for the portfolio in the portfolio default
currency.
| |||||||||||
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
| |||||||||||
Returns the gain for the portfolio in the portfolio default currency.
| |||||||||||
Returns the percentage gain.
| |||||||||||
Returns the market value of the portfolio in the portfolio default
currency.
| |||||||||||
Returns the 1 week return (percentage).
| |||||||||||
Returns the 1 year return (percentage).
| |||||||||||
Returns the 3 month return (percentage).
| |||||||||||
Returns the 3 year return (percentage).
| |||||||||||
Returns the 4 week return (percentage).
| |||||||||||
Returns the 5 year return (percentage).
| |||||||||||
Returns the overall return (percentage).
| |||||||||||
Returns the Year-to-date return (percentage).
| |||||||||||
Returns whether it has the cost basis of the portfolio in the portfolio
default currency.
| |||||||||||
Returns whether it has the ISO4217 currency code.
| |||||||||||
Returns whether it has the today's gain for the portfolio in the portfolio
default currency.
| |||||||||||
Returns whether it has the gain for the portfolio in the portfolio default
currency.
| |||||||||||
Returns whether it has the percentage gain.
| |||||||||||
Returns whether it has the market value of the portfolio in the portfolio
default currency.
| |||||||||||
Returns whether it has the 1 week return (percentage).
| |||||||||||
Returns whether it has the 1 year return (percentage).
| |||||||||||
Returns whether it has the 3 month return (percentage).
| |||||||||||
Returns whether it has the 3 year return (percentage).
| |||||||||||
Returns whether it has the 4 week return (percentage).
| |||||||||||
Returns whether it has the 5 year return (percentage).
| |||||||||||
Returns whether it has the overall return (percentage).
| |||||||||||
Returns whether it has the Year-to-date return (percentage).
| |||||||||||
Sets the cost basis of the portfolio in the portfolio default currency.
| |||||||||||
Sets the ISO4217 currency code.
| |||||||||||
Sets the today's gain for the portfolio in the portfolio default currency.
| |||||||||||
Sets the gain for the portfolio in the portfolio default currency.
| |||||||||||
Sets the percentage gain.
| |||||||||||
Sets the market value of the portfolio in the portfolio default currency.
| |||||||||||
Sets the 1 week return (percentage).
| |||||||||||
Sets the 1 year return (percentage).
| |||||||||||
Sets the 3 month return (percentage).
| |||||||||||
Sets the 3 year return (percentage).
| |||||||||||
Sets the 4 week return (percentage).
| |||||||||||
Sets the 5 year return (percentage).
| |||||||||||
Sets the overall return (percentage).
| |||||||||||
Sets the Year-to-date return (percentage).
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Consumes attributes from the attribute helper.
| |||||||||||
Puts attributes into the attribute generator.
| |||||||||||
Checks the attributes to see if there are any problems.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
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
| |||||||||||
XML "currencyCode" attribute name
XML "gainPercentage" attribute name
XML "return1w" attribute name
XML "return1y" attribute name
XML "return3m" attribute name
XML "return3y" attribute name
XML "return4w" attribute name
XML "return5y" attribute name
XML "returnOverall" attribute name
XML "returnYTD" attribute name
XML element name
ISO4217 currency code
Percentage gain
1 week return (percentage)
1 year return (percentage)
3 month return (percentage)
3 year return (percentage)
4 week return (percentage)
5 year return (percentage)
Overall return (percentage)
Year-to-date return (percentage)
Default mutable constructor.
Immutable constructor.
| currencyCode | ISO4217 currency code. |
|---|---|
| gainPercentage | Percentage gain. |
| return1w | 1 week return (percentage). |
| return1y | 1 year return (percentage). |
| return3m | 3 month return (percentage). |
| return3y | 3 year return (percentage). |
| return4w | 4 week return (percentage). |
| return5y | 5 year return (percentage). |
| returnOverall | Overall return (percentage). |
| returnYTD | Year-to-date return (percentage). |
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.
| extProfile | The ExtensionProfile to initialize. |
|---|
Returns the cost basis of the portfolio in the portfolio default currency.
Returns the ISO4217 currency code.
Returns the today's gain for the portfolio in the portfolio default currency.
Returns the extension description, specifying whether it is required, and whether it is repeatable.
| required | Whether it is required |
|---|---|
| repeatable | Whether it is repeatable |
Returns the gain for the portfolio in the portfolio default currency.
Returns the percentage gain.
Returns the market value of the portfolio in the portfolio default currency.
Returns the 1 week return (percentage).
Returns the 1 year return (percentage).
Returns the 3 month return (percentage).
Returns the 3 year return (percentage).
Returns the 4 week return (percentage).
Returns the 5 year return (percentage).
Returns the overall return (percentage).
Returns the Year-to-date return (percentage).
Returns whether it has the cost basis of the portfolio in the portfolio default currency.
Returns whether it has the ISO4217 currency code.
Returns whether it has the today's gain for the portfolio in the portfolio default currency.
Returns whether it has the gain for the portfolio in the portfolio default currency.
Returns whether it has the percentage gain.
Returns whether it has the market value of the portfolio in the portfolio default currency.
Returns whether it has the 1 week return (percentage).
Returns whether it has the 1 year return (percentage).
Returns whether it has the 3 month return (percentage).
Returns whether it has the 3 year return (percentage).
Returns whether it has the 4 week return (percentage).
Returns whether it has the 5 year return (percentage).
Returns whether it has the overall return (percentage).
Returns whether it has the Year-to-date return (percentage).
Sets the cost basis of the portfolio in the portfolio default currency.
| costBasis | Cost basis of the portfolio in the portfolio default
currency or null to reset
|
|---|
Sets the ISO4217 currency code.
| currencyCode | ISO4217 currency code or null to reset
|
|---|
Sets the today's gain for the portfolio in the portfolio default currency.
| daysGain | Today's gain for the portfolio in the portfolio default
currency or null to reset
|
|---|
Sets the gain for the portfolio in the portfolio default currency.
| gain | Gain for the portfolio in the portfolio default currency or
null to reset
|
|---|
Sets the percentage gain.
| gainPercentage | Percentage gain or null to reset
|
|---|
Sets the market value of the portfolio in the portfolio default currency.
| marketValue | Market value of the portfolio in the portfolio default
currency or null to reset
|
|---|
Sets the 1 week return (percentage).
| return1w | 1 week return (percentage) or null to reset
|
|---|
Sets the 1 year return (percentage).
| return1y | 1 year return (percentage) or null to reset
|
|---|
Sets the 3 month return (percentage).
| return3m | 3 month return (percentage) or null to reset
|
|---|
Sets the 3 year return (percentage).
| return3y | 3 year return (percentage) or null to reset
|
|---|
Sets the 4 week return (percentage).
| return4w | 4 week return (percentage) or null to reset
|
|---|
Sets the 5 year return (percentage).
| return5y | 5 year return (percentage) or null to reset
|
|---|
Sets the overall return (percentage).
| returnOverall | Overall return (percentage) or null to
reset
|
|---|
Sets the Year-to-date return (percentage).
| returnYTD | Year-to-date return (percentage) or null to
reset
|
|---|
Consumes attributes from the attribute helper. May also use
consumeContent(boolean) to consume the element's text
content. Called from getHandler(ExtensionProfile, String, String, Attributes). Default implementation does
nothing, though generally this is discouraged unless there really are no
attributes.
| helper | Attribute helper |
|---|
| ParseException |
|---|
Puts attributes into the attribute generator. Called from
generate(XmlWriter, ExtensionProfile). Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.
| generator | Attribute generator |
|---|
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.