Package org.apache.xmpbox.schema
Class XMPMediaManagementSchema
- java.lang.Object
-
- org.apache.xmpbox.type.AbstractField
-
- org.apache.xmpbox.type.AbstractComplexProperty
-
- org.apache.xmpbox.type.AbstractStructuredType
-
- org.apache.xmpbox.schema.XMPSchema
-
- org.apache.xmpbox.schema.XMPMediaManagementSchema
-
public class XMPMediaManagementSchema extends XMPSchema
Representation of XMPMediaManagement Schema- Author:
- gbailleul
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDERIVED_FROMstatic java.lang.StringDOCUMENTIDstatic java.lang.StringHISTORYstatic java.lang.StringINGREDIENTSstatic java.lang.StringINSTANCEIDstatic java.lang.StringLAST_URLstatic java.lang.StringMANAGED_FROMstatic java.lang.StringMANAGERstatic java.lang.StringMANAGERVARIANTstatic java.lang.StringMANAGETOstatic java.lang.StringMANAGEUIstatic java.lang.StringORIGINALDOCUMENTIDstatic java.lang.StringRENDITION_OFstatic java.lang.StringRENDITIONCLASSstatic java.lang.StringRENDITIONPARAMSstatic java.lang.StringSAVE_IDstatic java.lang.StringVERSIONIDstatic java.lang.StringVERSIONS-
Fields inherited from class org.apache.xmpbox.type.AbstractStructuredType
STRUCTURE_ARRAY_NAME
-
-
Constructor Summary
Constructors Constructor Description XMPMediaManagementSchema(XMPMetadata metadata)Constructor of XMPMediaManagement Schema with preferred prefixXMPMediaManagementSchema(XMPMetadata metadata, java.lang.String ownPrefix)Constructor of XMPMediaManagementSchema schema with specified prefix
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddHistory(java.lang.String history)Add a History ValuevoidaddIngredients(java.lang.String ingredients)Add an Ingredients valuevoidaddVersions(java.lang.String value)ResourceRefTypegetDerivedFromProperty()Get DerivedFrom propertyjava.lang.StringgetDocumentID()Get DocumentId valueTextTypegetDocumentIDProperty()Get DocumentId propertyjava.util.List<java.lang.String>getHistory()Deprecated.This method will be removed in 4.0 because it produces a ClassCastException.ArrayPropertygetHistoryProperty()Get History Propertyjava.util.List<java.lang.String>getIngredients()Get List of Ingredients valuesArrayPropertygetIngredientsProperty().java.lang.StringgetInstanceID()Get InstanceId valueTextTypegetInstanceIDProperty()Get InstanceId propertyjava.lang.StringgetLastURL()Get DocumentId valueURLTypegetLastURLProperty()Get DocumentId propertyResourceRefTypegetManagedFromProperty()get ManageFrom Propertyjava.lang.StringgetManager()Get Manager valueTextTypegetManagerProperty()Get Manager propertyjava.lang.StringgetManagerVariant()Get ManagerVariant valueTextTypegetManagerVariantProperty()Get ManagerVariant propertyjava.lang.StringgetManageTo()get ManageTo valueTextTypegetManageToProperty()get ManageTo propertyjava.lang.StringgetManageUI()Get ManageUI ValueTextTypegetManageUIProperty()Get ManageUI propertyjava.lang.StringgetOriginalDocumentID()Get OriginalDocumentId valueTextTypegetOriginalDocumentIDProperty()Get OriginalDocumentId propertyjava.lang.StringgetRenditionClass()Get RenditionClass valueTextTypegetRenditionClassProperty()Get RenditionClass propertyjava.lang.StringgetRenditionParams()Get RenditionParams valueTextTypegetRenditionParamsProperty()Get RenditionParams propertyResourceRefTypegetResourceRefProperty()Deprecated.callgetDerivedFromProperty().java.lang.IntegergetSaveID()Get DocumentId valueIntegerTypegetSaveIDProperty()Get DocumentId propertyjava.lang.StringgetVersionID()Get VersionId valueTextTypegetVersionIDProperty()Get VersionId propertyjava.util.List<java.lang.String>getVersions()ArrayPropertygetVersionsProperty()Get Versions propertyvoidsetDerivedFromProperty(ResourceRefType tt)Set DerivedFrom propertyvoidsetDocumentID(java.lang.String url)Set DocumentId valuevoidsetDocumentIDProperty(URIType tt)Set DocumentId PropertyvoidsetInstanceID(java.lang.String value)Set InstanceId valuevoidsetInstanceIDProperty(URIType tt)Set InstanceId propertyvoidsetLastURL(java.lang.String url)Set DocumentId valuevoidsetLastURLProperty(URLType tt)Set DocumentId PropertyvoidsetManagedFromProperty(ResourceRefType managedFrom)set ManageFrom PropertyvoidsetManager(java.lang.String value)Set Manager valuevoidsetManagerProperty(AgentNameType tt)Set Manager propertyvoidsetManagerVariant(java.lang.String value)Set ManagerVariant valuevoidsetManagerVariantProperty(TextType tt)Set ManagerVariant PropertyvoidsetManageTo(java.lang.String value)Set ManageTo ValuevoidsetManageToProperty(URIType tt)Set ManageTo propertyvoidsetManageUI(java.lang.String value)Set ManageUI valuevoidsetManageUIProperty(URIType tt)Set ManageUI propertyvoidsetOriginalDocumentID(java.lang.String url)Set OriginalDocumentId valuevoidsetOriginalDocumentIDProperty(TextType tt)Set OriginalDocumentId propertyvoidsetRenditionClass(java.lang.String value)Set renditionClass ValuevoidsetRenditionClassProperty(RenditionClassType tt)Set RenditionClass PropertyvoidsetRenditionParams(java.lang.String url)Set RenditionParams ValuevoidsetRenditionParamsProperty(TextType tt)Set RenditionParams propertyvoidsetSaveId(java.lang.Integer url)Set DocumentId valuevoidsetSaveIDProperty(IntegerType tt)Set DocumentId PropertyvoidsetVersionID(java.lang.String value)Set VersionId valuevoidsetVersionIDProperty(TextType tt)Set VersionId property-
Methods inherited from class org.apache.xmpbox.schema.XMPSchema
addBagValue, addBagValueAsSimple, addQualifiedBagValue, addSequenceDateValueAsSimple, addUnqualifiedSequenceDateValue, addUnqualifiedSequenceValue, addUnqualifiedSequenceValue, getAboutAttribute, getAboutValue, getAbstractProperty, getBooleanProperty, getBooleanPropertyValue, getBooleanPropertyValueAsSimple, getDateProperty, getDatePropertyValue, getDatePropertyValueAsSimple, getIntegerProperty, getIntegerPropertyValue, getIntegerPropertyValueAsSimple, getUnqualifiedArrayList, getUnqualifiedBagValueList, getUnqualifiedLanguagePropertyLanguagesValue, getUnqualifiedLanguagePropertyValue, getUnqualifiedSequenceDateValueList, getUnqualifiedSequenceValueList, getUnqualifiedTextProperty, getUnqualifiedTextPropertyValue, instanciateSimple, merge, removeUnqualifiedArrayValue, removeUnqualifiedBagValue, removeUnqualifiedSequenceDateValue, removeUnqualifiedSequenceValue, removeUnqualifiedSequenceValue, reorganizeAltOrder, setAbout, setAboutAsSimple, setBooleanProperty, setBooleanPropertyValue, setBooleanPropertyValueAsSimple, setDateProperty, setDatePropertyValue, setDatePropertyValueAsSimple, setIntegerProperty, setIntegerPropertyValue, setIntegerPropertyValueAsSimple, setTextProperty, setTextPropertyValue, setTextPropertyValueAsSimple, setUnqualifiedLanguagePropertyValue
-
Methods inherited from class org.apache.xmpbox.type.AbstractStructuredType
addSimpleProperty, createArrayProperty, createTextType, getDatePropertyAsCalendar, getNamespace, getPreferedPrefix, getPrefix, getPropertyValueAsString, setNamespace, setPrefix
-
Methods inherited from class org.apache.xmpbox.type.AbstractComplexProperty
addNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removeProperty
-
Methods inherited from class org.apache.xmpbox.type.AbstractField
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
-
-
-
-
Field Detail
-
LAST_URL
public static final java.lang.String LAST_URL
- See Also:
- Constant Field Values
-
RENDITION_OF
public static final java.lang.String RENDITION_OF
- See Also:
- Constant Field Values
-
SAVE_ID
public static final java.lang.String SAVE_ID
- See Also:
- Constant Field Values
-
DERIVED_FROM
public static final java.lang.String DERIVED_FROM
- See Also:
- Constant Field Values
-
DOCUMENTID
public static final java.lang.String DOCUMENTID
- See Also:
- Constant Field Values
-
MANAGER
public static final java.lang.String MANAGER
- See Also:
- Constant Field Values
-
MANAGETO
public static final java.lang.String MANAGETO
- See Also:
- Constant Field Values
-
MANAGEUI
public static final java.lang.String MANAGEUI
- See Also:
- Constant Field Values
-
MANAGERVARIANT
public static final java.lang.String MANAGERVARIANT
- See Also:
- Constant Field Values
-
INSTANCEID
public static final java.lang.String INSTANCEID
- See Also:
- Constant Field Values
-
MANAGED_FROM
public static final java.lang.String MANAGED_FROM
- See Also:
- Constant Field Values
-
ORIGINALDOCUMENTID
public static final java.lang.String ORIGINALDOCUMENTID
- See Also:
- Constant Field Values
-
RENDITIONCLASS
public static final java.lang.String RENDITIONCLASS
- See Also:
- Constant Field Values
-
RENDITIONPARAMS
public static final java.lang.String RENDITIONPARAMS
- See Also:
- Constant Field Values
-
VERSIONID
public static final java.lang.String VERSIONID
- See Also:
- Constant Field Values
-
VERSIONS
public static final java.lang.String VERSIONS
- See Also:
- Constant Field Values
-
HISTORY
public static final java.lang.String HISTORY
- See Also:
- Constant Field Values
-
INGREDIENTS
public static final java.lang.String INGREDIENTS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XMPMediaManagementSchema
public XMPMediaManagementSchema(XMPMetadata metadata)
Constructor of XMPMediaManagement Schema with preferred prefix- Parameters:
metadata- The metadata to attach this schema
-
XMPMediaManagementSchema
public XMPMediaManagementSchema(XMPMetadata metadata, java.lang.String ownPrefix)
Constructor of XMPMediaManagementSchema schema with specified prefix- Parameters:
metadata- The metadata to attach this schemaownPrefix- The prefix to assign
-
-
Method Detail
-
setDerivedFromProperty
public void setDerivedFromProperty(ResourceRefType tt)
Set DerivedFrom property- Parameters:
tt- DerivedFrom property to set
-
getResourceRefProperty
@Deprecated public ResourceRefType getResourceRefProperty()
Deprecated.callgetDerivedFromProperty().Get ResourceRef property- Returns:
- ResourceRef property
-
getDerivedFromProperty
public ResourceRefType getDerivedFromProperty()
Get DerivedFrom property- Returns:
- DerivedFrom property
-
setDocumentID
public void setDocumentID(java.lang.String url)
Set DocumentId value- Parameters:
url- DocumentId value to set
-
setDocumentIDProperty
public void setDocumentIDProperty(URIType tt)
Set DocumentId Property- Parameters:
tt- DocumentId Property to set
-
getDocumentIDProperty
public TextType getDocumentIDProperty()
Get DocumentId property- Returns:
- DocumentId property
-
getDocumentID
public java.lang.String getDocumentID()
Get DocumentId value- Returns:
- DocumentId value
-
setLastURL
public void setLastURL(java.lang.String url)
Set DocumentId value- Parameters:
url- DocumentId value to set
-
setLastURLProperty
public void setLastURLProperty(URLType tt)
Set DocumentId Property- Parameters:
tt- DocumentId Property to set
-
getLastURLProperty
public URLType getLastURLProperty()
Get DocumentId property- Returns:
- DocumentId property
-
getLastURL
public java.lang.String getLastURL()
Get DocumentId value- Returns:
- DocumentId value
-
setSaveId
public void setSaveId(java.lang.Integer url)
Set DocumentId value- Parameters:
url- DocumentId value to set
-
setSaveIDProperty
public void setSaveIDProperty(IntegerType tt)
Set DocumentId Property- Parameters:
tt- DocumentId Property to set
-
getSaveIDProperty
public IntegerType getSaveIDProperty()
Get DocumentId property- Returns:
- DocumentId property
-
getSaveID
public java.lang.Integer getSaveID()
Get DocumentId value- Returns:
- DocumentId value
-
setManager
public void setManager(java.lang.String value)
Set Manager value- Parameters:
value- Manager value to set
-
setManagerProperty
public void setManagerProperty(AgentNameType tt)
Set Manager property- Parameters:
tt- Manager property to set
-
getManagerProperty
public TextType getManagerProperty()
Get Manager property- Returns:
- Manager property
-
getManager
public java.lang.String getManager()
Get Manager value- Returns:
- Manager value
-
setManageTo
public void setManageTo(java.lang.String value)
Set ManageTo Value- Parameters:
value- ManageTo Value to set
-
setManageToProperty
public void setManageToProperty(URIType tt)
Set ManageTo property- Parameters:
tt- ManageTo property to set
-
getManageToProperty
public TextType getManageToProperty()
get ManageTo property- Returns:
- ManageTo property
-
getManageTo
public java.lang.String getManageTo()
get ManageTo value- Returns:
- ManageTo value
-
setManageUI
public void setManageUI(java.lang.String value)
Set ManageUI value- Parameters:
value- ManageUI value to set
-
setManageUIProperty
public void setManageUIProperty(URIType tt)
Set ManageUI property- Parameters:
tt- ManageUI property to set
-
getManageUIProperty
public TextType getManageUIProperty()
Get ManageUI property- Returns:
- ManageUI property
-
getManageUI
public java.lang.String getManageUI()
Get ManageUI Value- Returns:
- ManageUI Value
-
setManagerVariant
public void setManagerVariant(java.lang.String value)
Set ManagerVariant value- Parameters:
value- ManagerVariant value to set
-
setManagerVariantProperty
public void setManagerVariantProperty(TextType tt)
Set ManagerVariant Property- Parameters:
tt- ManagerVariant Property to set
-
getManagerVariantProperty
public TextType getManagerVariantProperty()
Get ManagerVariant property- Returns:
- ManagerVariant property
-
getManagerVariant
public java.lang.String getManagerVariant()
Get ManagerVariant value- Returns:
- ManagerVariant value
-
setInstanceID
public void setInstanceID(java.lang.String value)
Set InstanceId value- Parameters:
value- InstanceId value to set
-
setInstanceIDProperty
public void setInstanceIDProperty(URIType tt)
Set InstanceId property- Parameters:
tt- InstanceId property to set
-
getInstanceIDProperty
public TextType getInstanceIDProperty()
Get InstanceId property- Returns:
- InstanceId property
-
getInstanceID
public java.lang.String getInstanceID()
Get InstanceId value- Returns:
- InstanceId value
-
setManagedFromProperty
public void setManagedFromProperty(ResourceRefType managedFrom)
set ManageFrom Property- Parameters:
managedFrom- ManageFrom Property to set
-
getManagedFromProperty
public ResourceRefType getManagedFromProperty()
get ManageFrom Property- Returns:
- ManageFrom Property
-
setOriginalDocumentID
public void setOriginalDocumentID(java.lang.String url)
Set OriginalDocumentId value- Parameters:
url- OriginalDocumentId value to set
-
setOriginalDocumentIDProperty
public void setOriginalDocumentIDProperty(TextType tt)
Set OriginalDocumentId property- Parameters:
tt- OriginalDocumentId property to set
-
getOriginalDocumentIDProperty
public TextType getOriginalDocumentIDProperty()
Get OriginalDocumentId property- Returns:
- OriginalDocumentId property
-
getOriginalDocumentID
public java.lang.String getOriginalDocumentID()
Get OriginalDocumentId value- Returns:
- OriginalDocumentId value
-
setRenditionClass
public void setRenditionClass(java.lang.String value)
Set renditionClass Value- Parameters:
value- renditionClass Value to set
-
setRenditionClassProperty
public void setRenditionClassProperty(RenditionClassType tt)
Set RenditionClass Property- Parameters:
tt- renditionClass Property to set
-
getRenditionClassProperty
public TextType getRenditionClassProperty()
Get RenditionClass property- Returns:
- RenditionClass property
-
getRenditionClass
public java.lang.String getRenditionClass()
Get RenditionClass value- Returns:
- RenditionClass value
-
setRenditionParams
public void setRenditionParams(java.lang.String url)
Set RenditionParams Value- Parameters:
url- RenditionParams Value to set
-
setRenditionParamsProperty
public void setRenditionParamsProperty(TextType tt)
Set RenditionParams property- Parameters:
tt- RenditionParams property to set
-
getRenditionParamsProperty
public TextType getRenditionParamsProperty()
Get RenditionParams property- Returns:
- RenditionParams property
-
getRenditionParams
public java.lang.String getRenditionParams()
Get RenditionParams value- Returns:
- RenditionParams value
-
setVersionID
public void setVersionID(java.lang.String value)
Set VersionId value- Parameters:
value- VersionId value to set
-
setVersionIDProperty
public void setVersionIDProperty(TextType tt)
Set VersionId property- Parameters:
tt- VersionId property to set
-
getVersionIDProperty
public TextType getVersionIDProperty()
Get VersionId property- Returns:
- VersionId property
-
getVersionID
public java.lang.String getVersionID()
Get VersionId value- Returns:
- VersionId value
-
addVersions
public void addVersions(java.lang.String value)
-
getVersionsProperty
public ArrayProperty getVersionsProperty()
Get Versions property- Returns:
- version property to set
-
getVersions
public java.util.List<java.lang.String> getVersions()
-
addHistory
public void addHistory(java.lang.String history)
Add a History Value- Parameters:
history- History Value to add
-
getHistoryProperty
public ArrayProperty getHistoryProperty()
Get History Property- Returns:
- History Property
-
getHistory
@Deprecated public java.util.List<java.lang.String> getHistory()
Deprecated.This method will be removed in 4.0 because it produces a ClassCastException. UsegetHistoryProperty()instead.Get List of History values- Returns:
- List of History values
-
addIngredients
public void addIngredients(java.lang.String ingredients)
Add an Ingredients value- Parameters:
ingredients- Ingredients value to add
-
getIngredientsProperty
public ArrayProperty getIngredientsProperty()
. Get Ingredients Property- Returns:
- Ingredients property
-
getIngredients
public java.util.List<java.lang.String> getIngredients()
Get List of Ingredients values- Returns:
- List of Ingredients values
-
-