public class MetadataType extends Object implements Serializable, Cloneable, Containerable
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Meta-data about data creation, modification, etc. It may apply to objects but also parts of the object (e.g. assignments). </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Meta-data only apply to successful operations. That is obvious for create, but it also applies to modify. For obvious reasons there are no metadata about delete. We keep no metadata about reading. That would be a huge performance hit. </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Meta-data only describe the last operation of its kind. E.g. there is a record of last modification, last approval, etc. There is no history. The last operation overwrites data about the previous operation. </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> These data are informational only. They should not be used for security purposes (use auditing subsystem for that). But presence of metadata simplifies system administration and may provide some basic information "at the glance" which may be later confirmed by the audit logs. </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Meta-data are also supposed to be searchable. Therefore they may be used to quickly find "candidate" objects for a closer examination. </p>
Java class for MetadataType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MetadataType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="requestTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="requestorRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="createTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="creatorRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="createApproverRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="createApprovalTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="createChannel" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="modifyTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="modifierRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="modifyApproverRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="modifyApprovalTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="modifyChannel" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
static QName |
F_CREATE_APPROVAL_TIMESTAMP |
static QName |
F_CREATE_APPROVER_REF |
static QName |
F_CREATE_CHANNEL |
static QName |
F_CREATE_TIMESTAMP |
static QName |
F_CREATOR_REF |
static QName |
F_MODIFIER_REF |
static QName |
F_MODIFY_APPROVAL_TIMESTAMP |
static QName |
F_MODIFY_APPROVER_REF |
static QName |
F_MODIFY_CHANNEL |
static QName |
F_MODIFY_TIMESTAMP |
static QName |
F_REQUEST_TIMESTAMP |
static QName |
F_REQUESTOR_REF |
Constructor and Description |
---|
MetadataType() |
MetadataType(PrismContext prismContext) |
public static final QName COMPLEX_TYPE
public static final QName F_REQUEST_TIMESTAMP
public static final QName F_REQUESTOR_REF
public static final QName F_CREATE_TIMESTAMP
public static final QName F_CREATOR_REF
public static final QName F_CREATE_APPROVER_REF
public static final QName F_CREATE_APPROVAL_TIMESTAMP
public static final QName F_CREATE_CHANNEL
public static final QName F_MODIFY_TIMESTAMP
public static final QName F_MODIFIER_REF
public static final QName F_MODIFY_APPROVER_REF
public static final QName F_MODIFY_APPROVAL_TIMESTAMP
public static final QName F_MODIFY_CHANNEL
public MetadataType()
public MetadataType(PrismContext prismContext)
public PrismContainerValue asPrismContainerValue()
asPrismContainerValue
in interface Containerable
public void setupContainerValue(PrismContainerValue containerValue)
Containerable
setupContainerValue
in interface Containerable
public XMLGregorianCalendar getRequestTimestamp()
public void setRequestTimestamp(XMLGregorianCalendar value)
public ObjectReferenceType getRequestorRef()
public void setRequestorRef(ObjectReferenceType value)
public XMLGregorianCalendar getCreateTimestamp()
public void setCreateTimestamp(XMLGregorianCalendar value)
public ObjectReferenceType getCreatorRef()
public void setCreatorRef(ObjectReferenceType value)
public List<ObjectReferenceType> getCreateApproverRef()
public XMLGregorianCalendar getCreateApprovalTimestamp()
public void setCreateApprovalTimestamp(XMLGregorianCalendar value)
public String getCreateChannel()
public void setCreateChannel(String value)
public XMLGregorianCalendar getModifyTimestamp()
public void setModifyTimestamp(XMLGregorianCalendar value)
public ObjectReferenceType getModifierRef()
public void setModifierRef(ObjectReferenceType value)
public List<ObjectReferenceType> getModifyApproverRef()
public XMLGregorianCalendar getModifyApprovalTimestamp()
public void setModifyApprovalTimestamp(XMLGregorianCalendar value)
public String getModifyChannel()
public void setModifyChannel(String value)
public MetadataType clone()
Copyright © 2016 Evolveum. All rights reserved.