|
|||||||||
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.BaseEntry<E>
com.google.gdata.data.media.MediaEntry<DocumentEntry>
com.google.gdata.data.gtt.DocumentEntry
public class DocumentEntry
Describes a document entry.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
---|
BaseEntry.AtomHandler, BaseEntry.EntryState |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
AbstractExtension.AttributesHandler |
Field Summary |
---|
Fields inherited from class com.google.gdata.data.BaseEntry |
---|
state |
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
Constructor Summary | |
---|---|
DocumentEntry()
Default mutable constructor. |
|
DocumentEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance. |
Method Summary | |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
Link |
getAccessControlListLink()
Returns the link that provides the URI of the feed for the access control list for the entry. |
Deleted |
getDeleted()
Returns the marker for deleted entries. |
DocumentSource |
getDocumentSource()
Returns the document source. |
GlossariesElement |
getGlossary()
Returns the glossaries element. |
LastModifiedBy |
getLastModifiedBy()
Returns the last modified by. |
NumberOfSourceWords |
getNumberOfSourceWords()
Returns the number of source words. |
PercentComplete |
getPercentComplete()
Returns the percent complete. |
SourceLanguage |
getSourceLanguage()
Returns the source language. |
TargetLanguage |
getTargetLanguage()
Returns the target language. |
TmsElement |
getTranslationMemory()
Returns the tms element. |
boolean |
hasDeleted()
Returns whether it has the marker for deleted entries. |
boolean |
hasDocumentSource()
Returns whether it has the document source. |
boolean |
hasGlossary()
Returns whether it has the glossaries element. |
boolean |
hasLastModifiedBy()
Returns whether it has the last modified by. |
boolean |
hasNumberOfSourceWords()
Returns whether it has the number of source words. |
boolean |
hasPercentComplete()
Returns whether it has the percent complete. |
boolean |
hasSourceLanguage()
Returns whether it has the source language. |
boolean |
hasTargetLanguage()
Returns whether it has the target language. |
boolean |
hasTranslationMemory()
Returns whether it has the tms element. |
void |
setDeleted(Deleted deleted)
Sets the marker for deleted entries. |
void |
setDocumentSource(DocumentSource documentSource)
Sets the document source. |
void |
setGlossary(GlossariesElement glossary)
Sets the glossaries element. |
void |
setLastModifiedBy(LastModifiedBy lastModifiedBy)
Sets the last modified by. |
void |
setNumberOfSourceWords(NumberOfSourceWords numberOfSourceWords)
Sets the number of source words. |
void |
setPercentComplete(PercentComplete percentComplete)
Sets the percent complete. |
void |
setSourceLanguage(SourceLanguage sourceLanguage)
Sets the source language. |
void |
setTargetLanguage(TargetLanguage targetLanguage)
Sets the target language. |
void |
setTranslationMemory(TmsElement translationMemory)
Sets the tms element. |
java.lang.String |
toString()
|
protected void |
validate()
Checks the attributes to see if there are any problems. |
Methods inherited from class com.google.gdata.data.media.MediaEntry |
---|
getContentHandlerInfo, getMediaEditLink, getMediaSource, setMediaSource, setService, updateMedia |
Methods inherited from class com.google.gdata.data.BaseEntry |
---|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gdata.data.IEntry |
---|
getCanEdit, getContent, getEdited, getEditLink, getPublished, getResumableEditMediaLink, getSelectedFields, getSummary, setCanEdit, setEdited, setPublished, setSelectedFields |
Methods inherited from interface com.google.gdata.data.IAtom |
---|
addLink, getAuthors, getCategories, getEtag, getId, getKind, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setKind, setUpdated, setVersionId |
Constructor Detail |
---|
public DocumentEntry()
public DocumentEntry(BaseEntry<?> sourceEntry)
BaseEntry
instance.
sourceEntry
- source entryMethod Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public Deleted getDeleted()
public void setDeleted(Deleted deleted)
deleted
- marker for deleted entries or null
to resetpublic boolean hasDeleted()
public DocumentSource getDocumentSource()
public void setDocumentSource(DocumentSource documentSource)
documentSource
- document source or null
to resetpublic boolean hasDocumentSource()
public GlossariesElement getGlossary()
public void setGlossary(GlossariesElement glossary)
glossary
- glossaries element or null
to resetpublic boolean hasGlossary()
public LastModifiedBy getLastModifiedBy()
public void setLastModifiedBy(LastModifiedBy lastModifiedBy)
lastModifiedBy
- last modified by or null
to resetpublic boolean hasLastModifiedBy()
public NumberOfSourceWords getNumberOfSourceWords()
public void setNumberOfSourceWords(NumberOfSourceWords numberOfSourceWords)
numberOfSourceWords
- number of source words or null
to
resetpublic boolean hasNumberOfSourceWords()
public PercentComplete getPercentComplete()
public void setPercentComplete(PercentComplete percentComplete)
percentComplete
- percent complete or null
to resetpublic boolean hasPercentComplete()
public SourceLanguage getSourceLanguage()
public void setSourceLanguage(SourceLanguage sourceLanguage)
sourceLanguage
- source language or null
to resetpublic boolean hasSourceLanguage()
public TargetLanguage getTargetLanguage()
public void setTargetLanguage(TargetLanguage targetLanguage)
targetLanguage
- target language or null
to resetpublic boolean hasTargetLanguage()
public TmsElement getTranslationMemory()
public void setTranslationMemory(TmsElement translationMemory)
translationMemory
- tms element or null
to resetpublic boolean hasTranslationMemory()
public Link getAccessControlListLink()
null
for none.protected void validate()
AbstractExtension
validate
in class AbstractExtension
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 |