|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jempbox.xmp.ResourceEvent
public class ResourceEvent
This class represents a high level event that occured during the processing of this resource.
Field Summary | |
---|---|
static java.lang.String |
ACTION_CONVERTED
A predefined action. |
static java.lang.String |
ACTION_COPIED
A predefined action. |
static java.lang.String |
ACTION_CREATED
A predefined action. |
static java.lang.String |
ACTION_CROPPED
A predefined action. |
static java.lang.String |
ACTION_EDITED
A predefined action. |
static java.lang.String |
ACTION_FILTERED
A predefined action. |
static java.lang.String |
ACTION_FORMATTED
A predefined action. |
static java.lang.String |
ACTION_MANAGED
A predefined action. |
static java.lang.String |
ACTION_PRINTED
A predefined action. |
static java.lang.String |
ACTION_PRODUCED
A predefined action. |
static java.lang.String |
ACTION_PUBLISHED
A predefined action. |
static java.lang.String |
ACTION_RESIZED
A predefined action. |
static java.lang.String |
ACTION_VERSION_UPDATED
A predefined action. |
static java.lang.String |
NAMESPACE
Namespace for a resource event. |
protected org.w3c.dom.Element |
parent
The DOM representation of this object. |
Constructor Summary | |
---|---|
ResourceEvent(org.w3c.dom.Element parentElement)
Create a resource reference based on a existing parent property set. |
|
ResourceEvent(XMPSchema schema)
Create resource event based on schema. |
Method Summary | |
---|---|
java.lang.String |
getAction()
Get the action that occured. |
org.w3c.dom.Element |
getElement()
Get the underlying XML element. |
java.lang.String |
getInstanceID()
Get the referenced resource's instance id. |
java.lang.String |
getManager()
Get name of the asset management system that manages this resource. |
java.lang.String |
getManagerTo()
URI identifying the managed resource. |
java.lang.String |
getManagerUI()
URI to info about the managed resource. |
java.lang.String |
getManagerVariant()
Get name of the variant of asset management system that manages this resource. |
java.lang.String |
getParameters()
Get an additional description of the event. |
java.lang.String |
getSoftwareAgent()
Get the software that performed this action. |
java.util.Calendar |
getWhen()
Get the date/time that this event occured. |
void |
setAction(java.lang.String action)
Set the action that this event represents. |
void |
setInstanceID(java.lang.String id)
Set the referenced resource's document instance id. |
void |
setMangager(java.lang.String manager)
Set the name of the system that manages this resource. |
void |
setMangagerTo(java.lang.String managerTo)
Set the URI to the managed resource. |
void |
setMangagerUI(java.lang.String managerUI)
Set the URI to the info about the managed resource. |
void |
setMangagerVariant(java.lang.String managerVariant)
Set the name of the variant of the system that manages this resource. |
void |
setParameters(java.lang.String param)
Set some addition description to this event. |
void |
setSoftwareAgent(java.lang.String software)
Set the software that performed this operation. |
void |
setWhen(java.util.Calendar when)
Set when the event occured. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAMESPACE
public static final java.lang.String ACTION_CONVERTED
public static final java.lang.String ACTION_COPIED
public static final java.lang.String ACTION_CREATED
public static final java.lang.String ACTION_CROPPED
public static final java.lang.String ACTION_EDITED
public static final java.lang.String ACTION_FILTERED
public static final java.lang.String ACTION_FORMATTED
public static final java.lang.String ACTION_VERSION_UPDATED
public static final java.lang.String ACTION_PRINTED
public static final java.lang.String ACTION_PUBLISHED
public static final java.lang.String ACTION_MANAGED
public static final java.lang.String ACTION_PRODUCED
public static final java.lang.String ACTION_RESIZED
protected org.w3c.dom.Element parent
Constructor Detail |
---|
public ResourceEvent(org.w3c.dom.Element parentElement)
parentElement
- The parent element that will store the resource properties.public ResourceEvent(XMPSchema schema)
schema
- The schema that this event will be part of.Method Detail |
---|
public org.w3c.dom.Element getElement()
getElement
in interface Elementable
public java.lang.String getAction()
public void setAction(java.lang.String action)
action
- The action that this event represents.public java.lang.String getInstanceID()
public void setInstanceID(java.lang.String id)
id
- The id of the reference document instance.public java.lang.String getParameters()
public void setParameters(java.lang.String param)
param
- The additional action parameters.public java.lang.String getSoftwareAgent()
public void setSoftwareAgent(java.lang.String software)
software
- The name of the software that performed this action.public java.util.Calendar getWhen() throws java.io.IOException
java.io.IOException
- If there is an error creating the date.public void setWhen(java.util.Calendar when)
when
- The date that the event occured.public java.lang.String getManager()
public void setMangager(java.lang.String manager)
manager
- The name of the management system.public java.lang.String getManagerVariant()
public void setMangagerVariant(java.lang.String managerVariant)
managerVariant
- The name of the management system.public java.lang.String getManagerTo()
public void setMangagerTo(java.lang.String managerTo)
managerTo
- The URI to the managed resource.public java.lang.String getManagerUI()
public void setMangagerUI(java.lang.String managerUI)
managerUI
- The URI to the managed resource information.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |