XmpResourceEvent

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType

public final class XmpResourceEvent extends XmpComplexType

Represents a high-level event that occurred in the processing of a resource.

Constructors

Constructor Description
XmpResourceEvent() Initializes a new instance of the XmpResourceEvent class.

Methods

Method Description
getAction() Gets the action that occurred.
setAction(String value) Sets the action that occurred.
getChanged() Gets a semicolon-delimited list of the parts of the resource that were changed since the previous event history.
setChanged(String value) Sets a semicolon-delimited list of the parts of the resource that were changed since the previous event history.
getInstanceID() Gets the value of the xmpMM:InstanceID property for the modified (output) resource.
setInstanceID(String value) Sets the value of the xmpMM:InstanceID property for the modified (output) resource.
getParameters() Gets the additional description of the action.
setParameters(String value) Sets the additional description of the action.
getSoftwareAgent() Gets the software agent that performed the action.
setSoftwareAgent(String value) Sets the software agent that performed the action.
getWhen() Gets the timestamp of when the action occurred.
setWhen(Date value) Sets the timestamp of when the action occurred.

XmpResourceEvent()

public XmpResourceEvent()

Initializes a new instance of the XmpResourceEvent class.

getAction()

public final String getAction()

Gets the action that occurred.

Returns: java.lang.String - The action that occurred. Defined values are: converted, copied, created, cropped, edited, filtered, formatted, version_updated, printed, published, managed, produced, resized, saved. New values should be verbs in the past tense.

setAction(String value)

public final void setAction(String value)

Sets the action that occurred.

Parameters:

Parameter Type Description
value java.lang.String The action that occurred. Defined values are: converted, copied, created, cropped, edited, filtered, formatted, version_updated, printed, published, managed, produced, resized, saved. New values should be verbs in the past tense.

getChanged()

public final String getChanged()

Gets a semicolon-delimited list of the parts of the resource that were changed since the previous event history.

Returns: java.lang.String - A semicolon-delimited list of the parts of the resource that were changed since the previous event history.

setChanged(String value)

public final void setChanged(String value)

Sets a semicolon-delimited list of the parts of the resource that were changed since the previous event history.

Parameters:

Parameter Type Description
value java.lang.String A semicolon-delimited list of the parts of the resource that were changed since the previous event history.

getInstanceID()

public final String getInstanceID()

Gets the value of the xmpMM:InstanceID property for the modified (output) resource.

Returns: java.lang.String - The value of the xmpMM:InstanceID property for the modified (output) resource.

setInstanceID(String value)

public final void setInstanceID(String value)

Sets the value of the xmpMM:InstanceID property for the modified (output) resource.

Parameters:

Parameter Type Description
value java.lang.String The value of the xmpMM:InstanceID property for the modified (output) resource.

getParameters()

public final String getParameters()

Gets the additional description of the action.

Returns: java.lang.String - The Additional description of the action.

setParameters(String value)

public final void setParameters(String value)

Sets the additional description of the action.

Parameters:

Parameter Type Description
value java.lang.String The Additional description of the action.

getSoftwareAgent()

public final String getSoftwareAgent()

Gets the software agent that performed the action.

Returns: java.lang.String - The software agent that performed the action.

setSoftwareAgent(String value)

public final void setSoftwareAgent(String value)

Sets the software agent that performed the action.

Parameters:

Parameter Type Description
value java.lang.String The software agent that performed the action.

getWhen()

public final Date getWhen()

Gets the timestamp of when the action occurred.

Returns: java.util.Date - The timestamp of when the action occurred. For events that create or write to a file, this should be the approximate modification time of the file.

setWhen(Date value)

public final void setWhen(Date value)

Sets the timestamp of when the action occurred.

Parameters:

Parameter Type Description
value java.util.Date The timestamp of when the action occurred. For events that create or write to a file, this should be the approximate modification time of the file.