|
|||||||||
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.youtube.YtPublicationState
public class YtPublicationState
Object representation of app:control/yt:state
, which
describes the publication state of an entry.
Nested Class Summary | |
---|---|
static class |
YtPublicationState.State
Current state. |
Constructor Summary | |
---|---|
YtPublicationState()
|
|
YtPublicationState(YtPublicationState.State state)
|
|
YtPublicationState(YtPublicationState.State state,
java.lang.String reasonCode,
java.lang.String helpUrl,
java.lang.String description)
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns, in a human-readable form, the reason why the entry was rejected or why processing the entry failed. |
java.lang.String |
getHelpUrl()
Returns a HTTP url which describes the failure in more details and/or provides a way of solving the problem. |
java.lang.String |
getReasonCode()
Gets a code describing the reason why the entry was rejected or why processing the entry failed. |
YtPublicationState.State |
getState()
Gets the publication state enum value. |
void |
setDescription(java.lang.String description)
Sets a human-readable error message. |
void |
setHelpUrl(java.lang.String url)
Sets a url to which users can learn more about the current issue. |
void |
setReasonCode(java.lang.String code)
Sets the code describing the reason why the entry was rejected or why processing the entry failed. |
void |
setState(YtPublicationState.State state)
Sets the publication state enum value. |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, setImmutable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public YtPublicationState()
public YtPublicationState(YtPublicationState.State state, java.lang.String reasonCode, java.lang.String helpUrl, java.lang.String description)
public YtPublicationState(YtPublicationState.State state)
Method Detail |
---|
public YtPublicationState.State getState()
public void setState(YtPublicationState.State state)
state
- publication statepublic java.lang.String getReasonCode()
null
public void setReasonCode(java.lang.String code)
code
- a code or null
public java.lang.String getDescription()
getReasonCode()
for that.
null
public void setDescription(java.lang.String description)
description
- or null
public java.lang.String getHelpUrl()
null
public void setHelpUrl(java.lang.String url)
url
- an HTTP url or null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |