com.google.gdata.data.webmastertools
Class CrawlIssueUrl
java.lang.Object
com.google.gdata.data.AbstractExtension
com.google.gdata.data.ValueConstruct
com.google.gdata.data.webmastertools.CrawlIssueUrl
- All Implemented Interfaces:
- Extension
public class CrawlIssueUrl
- extends ValueConstruct
URL affected by the crawl issue.
Constructor Summary |
CrawlIssueUrl()
Default mutable constructor. |
CrawlIssueUrl(java.lang.String url)
Constructor (mutable or immutable). |
Method Summary |
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable. |
java.lang.String |
getUrl()
Returns the value. |
boolean |
hasUrl()
Returns whether it has the value. |
void |
setUrl(java.lang.String url)
Sets the value. |
java.lang.String |
toString()
|
Methods inherited from class com.google.gdata.data.ValueConstruct |
consumeAttributes, equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setRequired, setValue |
Methods inherited from class com.google.gdata.data.AbstractExtension |
eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CrawlIssueUrl
public CrawlIssueUrl()
- Default mutable constructor.
CrawlIssueUrl
public CrawlIssueUrl(java.lang.String url)
- Constructor (mutable or immutable).
- Parameters:
url
- immutable value or null
for a mutable value
getUrl
public java.lang.String getUrl()
- Returns the value.
- Returns:
- value
setUrl
public void setUrl(java.lang.String url)
- Sets the value.
- Parameters:
url
- value or null
to reset
hasUrl
public boolean hasUrl()
- Returns whether it has the value.
- Returns:
- whether it has the value
getDefaultDescription
public static ExtensionDescription getDefaultDescription(boolean required,
boolean repeatable)
- Returns the extension description, specifying whether it is required, and
whether it is repeatable.
- Parameters:
required
- whether it is requiredrepeatable
- whether it is repeatable
- Returns:
- extension description
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object