|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.finance.DaysGain
public class DaysGain
Today's gain for the portfolio or position.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
|---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
| Constructor Summary | |
|---|---|
DaysGain()
Default mutable constructor. |
|
| Method Summary | |
|---|---|
void |
addMoney(Money money)
Adds a new monetary value of day's gain. |
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable. |
java.util.List<Money> |
getMoney()
Returns the monetary value of day's gain. |
boolean |
hasMoney()
Returns whether it has the monetary value of day's gain. |
java.lang.String |
toString()
|
| Methods inherited from class com.google.gdata.data.ExtensionPoint |
|---|
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getHandler, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit |
| Methods inherited from class com.google.gdata.data.AbstractExtension |
|---|
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DaysGain()
| Method Detail |
|---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions in class ExtensionPointextProfile - the ExtensionProfile to initialize.public java.util.List<Money> getMoney()
public void addMoney(Money money)
money - monetary value of day's gainpublic boolean hasMoney()
public static ExtensionDescription getDefaultDescription(boolean required,
boolean repeatable)
required - whether it is requiredrepeatable - whether it is repeatable
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||