/** * Returns the source language. * * @return source language */ public SourceLanguage getSourceLanguage() { return getExtension(SourceLanguage.class); }
/** * Returns the link that provides the URI of the feed for the access control * list for the entry. * * @return Link that provides the URI of the feed for the access control list * for the entry or {@code null} for none. */ public Link getAccessControlListLink() { return getLink(AclNamespace.LINK_REL_ACCESS_CONTROL_LIST, Link.Type.ATOM); }
/** * Returns whether it has the marker for deleted entries. * * @return whether it has the marker for deleted entries */ public boolean hasDeleted() { return hasExtension(Deleted.class); }
/** * Sets the glossaries element. * * @param glossary glossaries element or <code>null</code> to reset */ public void setGlossary(GlossariesElement glossary) { if (glossary == null) { removeExtension(GlossariesElement.class); } else { setExtension(glossary); } }
/** * Sets the source language. * * @param sourceLanguage source language or <code>null</code> to reset */ public void setSourceLanguage(SourceLanguage sourceLanguage) { if (sourceLanguage == null) { removeExtension(SourceLanguage.class); } else { setExtension(sourceLanguage); } }
/** * Sets the document source. * * @param documentSource document source or <code>null</code> to reset */ public void setDocumentSource(DocumentSource documentSource) { if (documentSource == null) { removeExtension(DocumentSource.class); } else { setExtension(documentSource); } }
/** * Returns the glossaries element. * * @return glossaries element */ public GlossariesElement getGlossary() { return getExtension(GlossariesElement.class); }
/** * Returns whether it has the document source. * * @return whether it has the document source */ public boolean hasDocumentSource() { return hasExtension(DocumentSource.class); }
/** * Returns the link that provides the URI of the feed for the access control * list for the entry. * * @return Link that provides the URI of the feed for the access control list * for the entry or {@code null} for none. */ public Link getAccessControlListLink() { return getLink(AclNamespace.LINK_REL_ACCESS_CONTROL_LIST, Link.Type.ATOM); }
/** * Sets the glossaries element. * * @param glossary glossaries element or <code>null</code> to reset */ public void setGlossary(GlossariesElement glossary) { if (glossary == null) { removeExtension(GlossariesElement.class); } else { setExtension(glossary); } }
/** * Returns the tms element. * * @return tms element */ public TmsElement getTranslationMemory() { return getExtension(TmsElement.class); }
/** * Returns whether it has the percent complete. * * @return whether it has the percent complete */ public boolean hasPercentComplete() { return hasExtension(PercentComplete.class); }
/** * Sets the tms element. * * @param translationMemory tms element or <code>null</code> to reset */ public void setTranslationMemory(TmsElement translationMemory) { if (translationMemory == null) { removeExtension(TmsElement.class); } else { setExtension(translationMemory); } }
/** * Returns the percent complete. * * @return percent complete */ public PercentComplete getPercentComplete() { return getExtension(PercentComplete.class); }
/** * Returns whether it has the tms element. * * @return whether it has the tms element */ public boolean hasTranslationMemory() { return hasExtension(TmsElement.class); }
/** * Sets the tms element. * * @param translationMemory tms element or <code>null</code> to reset */ public void setTranslationMemory(TmsElement translationMemory) { if (translationMemory == null) { removeExtension(TmsElement.class); } else { setExtension(translationMemory); } }
/** * Returns the number of source words. * * @return number of source words */ public NumberOfSourceWords getNumberOfSourceWords() { return getExtension(NumberOfSourceWords.class); }
/** * Returns whether it has the target language. * * @return whether it has the target language */ public boolean hasTargetLanguage() { return hasExtension(TargetLanguage.class); }
/** * Sets the number of source words. * * @param numberOfSourceWords number of source words or <code>null</code> to * reset */ public void setNumberOfSourceWords(NumberOfSourceWords numberOfSourceWords) { if (numberOfSourceWords == null) { removeExtension(NumberOfSourceWords.class); } else { setExtension(numberOfSourceWords); } }
/** * Returns the last modified by. * * @return last modified by */ public LastModifiedBy getLastModifiedBy() { return getExtension(LastModifiedBy.class); }