Method from org.apache.jempbox.xmp.ResourceEvent Detail: |
public String getAction() {
return XMLUtil.getStringValue( parent, "stEvt:action" );
}
Get the action that occured. See the ACTION_XXX constants. |
public Element getElement() {
return parent;
}
Get the underlying XML element. |
public String getInstanceID() {
return XMLUtil.getStringValue( parent, "stEvt:instanceID" );
}
Get the referenced resource's instance id. |
public String getManager() {
return XMLUtil.getStringValue( parent, "stRef:manager" );
}
Get name of the asset management system that manages this resource. |
public String getManagerTo() {
return XMLUtil.getStringValue( parent, "stRef:managerTo" );
}
URI identifying the managed resource. |
public String getManagerUI() {
return XMLUtil.getStringValue( parent, "stRef:managerUI" );
}
URI to info about the managed resource. |
public String getManagerVariant() {
return XMLUtil.getStringValue( parent, "stRef:managerVariant" );
}
Get name of the variant of asset management system that manages this resource. |
public String getParameters() {
return XMLUtil.getStringValue( parent, "stEvt:parameters" );
}
Get an additional description of the event. |
public String getSoftwareAgent() {
return XMLUtil.getStringValue( parent, "stEvt:softwareAgent" );
}
Get the software that performed this action. |
public Calendar getWhen() throws IOException {
return DateConverter.toCalendar( XMLUtil.getStringValue( parent, "stEvt:when" ) );
}
Get the date/time that this event occured. |
public void setAction(String action) {
XMLUtil.setStringValue( parent, "stEvt:action", action );
}
Set the action that this event represents. See the ACTION_XXX constants. |
public void setInstanceID(String id) {
XMLUtil.setStringValue( parent, "stEvt:instanceID", id );
}
Set the referenced resource's document instance id. |
public void setMangager(String manager) {
XMLUtil.setStringValue( parent, "stRef:manager", manager );
}
Set the name of the system that manages this resource. |
public void setMangagerTo(String managerTo) {
XMLUtil.setStringValue( parent, "stRef:managerTo", managerTo );
}
Set the URI to the managed resource. |
public void setMangagerUI(String managerUI) {
XMLUtil.setStringValue( parent, "stRef:managerUI", managerUI );
}
Set the URI to the info about the managed resource. |
public void setMangagerVariant(String managerVariant) {
XMLUtil.setStringValue( parent, "stRef:managerVariant", managerVariant );
}
Set the name of the variant of the system that manages this resource. |
public void setParameters(String param) {
XMLUtil.setStringValue( parent, "stEvt:parameters", param );
}
Set some addition description to this event. |
public void setSoftwareAgent(String software) {
XMLUtil.setStringValue( parent, "stEvt:softwareAgent", software );
}
Set the software that performed this operation. |
public void setWhen(Calendar when) {
XMLUtil.setStringValue( parent, "stEvt:when", DateConverter.toISO8601( when ) );
}
Set when the event occured. |