|
|||||||||
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.analytics.Goal
public class Goal
Google Analytics goal.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Constructor Summary | |
---|---|
Goal()
Default mutable constructor. |
|
Goal(java.lang.Boolean active,
java.lang.String name,
java.lang.Integer number,
java.lang.Double value)
Immutable constructor. |
Method Summary | |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
java.lang.Boolean |
getActive()
Returns the whether the goal is currently active. |
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable. |
Destination |
getDestination()
Returns the destination. |
Engagement |
getEngagement()
Returns the engagement. |
java.lang.String |
getName()
Returns the goal's name. |
java.lang.Integer |
getNumber()
Returns the goal's number. |
java.lang.Double |
getValue()
Returns the goal's monetary value. |
boolean |
hasActive()
Returns whether it has the whether the goal is currently active. |
boolean |
hasDestination()
Returns whether it has the destination. |
boolean |
hasEngagement()
Returns whether it has the engagement. |
boolean |
hasName()
Returns whether it has the goal's name. |
boolean |
hasNumber()
Returns whether it has the goal's number. |
boolean |
hasValue()
Returns whether it has the goal's monetary value. |
void |
setActive(java.lang.Boolean active)
Sets the whether the goal is currently active. |
void |
setDestination(Destination destination)
Sets the destination. |
void |
setEngagement(Engagement engagement)
Sets the engagement. |
void |
setName(java.lang.String name)
Sets the goal's name. |
void |
setNumber(java.lang.Integer number)
Sets the goal's number. |
void |
setValue(java.lang.Double value)
Sets the goal's monetary value. |
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 Goal()
public Goal(java.lang.Boolean active, java.lang.String name, java.lang.Integer number, java.lang.Double value)
active
- whether the goal is currently active.name
- goal's name.number
- goal's number.value
- goal's monetary value.Method Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.public java.lang.Boolean getActive()
public void setActive(java.lang.Boolean active)
active
- whether the goal is currently active or null
to
resetpublic boolean hasActive()
public Destination getDestination()
public void setDestination(Destination destination)
destination
- destination or null
to resetpublic boolean hasDestination()
public Engagement getEngagement()
public void setEngagement(Engagement engagement)
engagement
- engagement or null
to resetpublic boolean hasEngagement()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- goal's name or null
to resetpublic boolean hasName()
public java.lang.Integer getNumber()
public void setNumber(java.lang.Integer number)
number
- goal's number or null
to resetpublic boolean hasNumber()
public java.lang.Double getValue()
public void setValue(java.lang.Double value)
value
- goal's monetary value or null
to resetpublic boolean hasValue()
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 |