/** * Set the unique identifier of the resource * * @param text * Value to set */ public void setIdentifier(String text) { addProperty(createTextType(IDENTIFIER, text)); }
public void setCountry(String text) { TextType tt = (TextType) instanciateSimple(COUNTRY, text); setCountryProperty(tt); }
public void setDateCreated(String text) { DateType tt = (DateType) instanciateSimple(DATE_CREATED, text); setDateCreatedProperty(tt); }
public void setModifierDate(Calendar date) { DateType tt = (DateType) instanciateSimple(MODIFIER_DATE, date); setModifierDateProperty(tt); }
/** * Return the sequence of date(s) * * @return date property */ public ArrayProperty getDatesProperty() { return (ArrayProperty) getProperty(DATE); }
/** * Set the PDFVersion * * @param version * Property to set */ public void setPDFVersionProperty(TextType version) { addProperty(version); }
/** * add publisher(s) * * @param properName * Value to add */ public void addPublisher(String properName) { addQualifiedBagValue(PUBLISHER, properName); }
/** * Return the list of language existing for image description * @return a list of languages */ public List<String> getImageDescriptionLanguages() { return getUnqualifiedLanguagePropertyLanguagesValue(IMAGE_DESCRIPTION); }
/** * Return the Lang Alt UserComment property * * @return user comment property */ public ArrayProperty getUserCommentProperty() { return (ArrayProperty) getProperty(USER_COMMENT); }
/** * Return a language value for UserComment property * * @param lang * language concerned * @return the UserComment value for specified language */ public String getUserComment(String lang) { return getUnqualifiedLanguagePropertyValue(USER_COMMENT, lang); }
/** * Get the MetadataDate property * * @return the MetadataDate property */ public DateType getMetadataDateProperty() { return (DateType) getProperty(METADATADATE); }
/** * Set the PDF/A Version identifier * * @param part * set the PDF/A Version id property */ public void setPartProperty(IntegerType part) { addProperty(part); }
/** * set the autor(s) of the resource * * @param properName Value to add */ public void addCreator(String properName) { addUnqualifiedSequenceValue(CREATOR, properName); }
/** * Set the unique identifier of the resource * * @param text * Property to set */ public void setIdentifierProperty(TextType text) { addProperty(text); }
/** * Return a list of languages defined in Title property * * @return list of languages defined for title property */ public List<String> getTitleLanguages() { return getUnqualifiedLanguagePropertyLanguagesValue(TITLE); }
/** * Set the unique identifer of the work from which this resource was derived * * @param text * Value to set */ public void setSource(String text) { addProperty(createTextType(SOURCE, text)); }
/** * Return the Lang alt Description * * @return Description property */ public ArrayProperty getDescriptionProperty() { return (ArrayProperty) getProperty(DESCRIPTION); }
/** * Set the PDFProducer * * @param producer * Property to set */ public void setProducerProperty(TextType producer) { addProperty(producer); }
/** * set the document type (novel, poem, ...) * * @param type * Value to set */ public void addType(String type) { addQualifiedBagValue(TYPE, type); }
/** * Return the Lang alt Title * * @return the title property */ public ArrayProperty getTitleProperty() { return (ArrayProperty) getProperty(TITLE); }