/** * Create and add a default XMP Rights Management Schema to this metadata. * * This method return the created schema to enter information. * * @return schema added in order to work on it */ public XMPRightsManagementSchema createAndAddXMPRightsManagementSchema() { XMPRightsManagementSchema rights = new XMPRightsManagementSchema(this); rights.setAboutAsSimple(""); addSchema(rights); return rights; }
/** * Set Marked property * * @param marked * Marked property to set */ public void setMarkedProperty(BooleanType marked) { addProperty(marked); }
/** * Add a legal owner for the described resource. * * @param value * value to add */ public void addOwner(String value) { addQualifiedBagValue(OWNER, value); }
/** * Return the WebStatement URL as TextType. * * @return Webstatement URL property */ public TextType getWebStatementProperty() { return ((TextType) getProperty(WEBSTATEMENT)); }
/** * Return a language value for description property * * @param lang * concerned language * @return value of specified language */ public String getUsageTerms(String lang) { return getUnqualifiedLanguagePropertyValue(USAGETERMS, lang); }
/** * Return a String list of owner(s) * * @return list of defined owners */ public List<String> getOwners() { return getUnqualifiedBagValueList(OWNER); }
/** * Return a list of languages defined in description property * * @return list of languages defined for usageterms */ public List<String> getUsageTermsLanguages() { return getUnqualifiedLanguagePropertyLanguagesValue(USAGETERMS); }
/** * Get the default usage terms for the document. * * @return The terms for this resource. */ public String getUsageTerms() { return getUsageTerms(null); }
/** * Set the default usage terms for this resource. * * @param terms * The resource usage terms. */ public void setUsageTerms(String terms) { addUsageTerms(null, terms); }
if (rights != null) BooleanType marked = rights.getMarkedProperty(); if (marked != null && !marked.getValue())
/** * Return the Bag of owner(s) * * @return owners property */ public ArrayProperty getOwnersProperty() { return (ArrayProperty) getProperty(OWNER); }
/** * Return a language value for description property * * @param lang * concerned language * @return value of specified language */ public String getUsageTerms(String lang) { return getUnqualifiedLanguagePropertyValue(USAGETERMS, lang); }
/** * Return a String list of owner(s) * * @return list of defined owners */ public List<String> getOwners() { return getUnqualifiedBagValueList(OWNER); }
/** * Return a list of languages defined in description property * * @return list of languages defined for usageterms */ public List<String> getUsageTermsLanguages() { return getUnqualifiedLanguagePropertyLanguagesValue(USAGETERMS); }
/** * Get the default usage terms for the document. * * @return The terms for this resource. */ public String getUsageTerms() { return getUsageTerms(null); }
/** * Set the default usage terms for this resource. * * @param terms * The resource usage terms. */ public void setUsageTerms(String terms) { addUsageTerms(null, terms); }
if (rights != null) BooleanType marked = rights.getMarkedProperty(); if (marked != null && !marked.getValue())
/** * Return the Certificate URL as TextType. * * @return certificate url property */ public TextType getCertificateProperty() { return ((TextType) getProperty(CERTIFICATE)); }
/** * Create and add a default XMP Rights Management Schema to this metadata. * * This method return the created schema to enter information. * * @return schema added in order to work on it */ public XMPRightsManagementSchema createAndAddXMPRightsManagementSchema() { XMPRightsManagementSchema rights = new XMPRightsManagementSchema(this); rights.setAboutAsSimple(""); addSchema(rights); return rights; }
/** * Set the Certificate URL. * * @param url * certificate url property to set */ public void setCertificateProperty(URLType url) { addProperty(url); } }