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: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: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: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: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: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: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: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: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: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: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="requestorComment" type="{http://www.w3.org/2001/XMLSchema}string" 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="createApprovalComment" type="{http://www.w3.org/2001/XMLSchema}string" 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="createTaskRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" 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="modifyApprovalComment" type="{http://www.w3.org/2001/XMLSchema}string" 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"/> <element name="modifyTaskRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="lastProvisioningTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="certificationFinishedTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="certificationOutcome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="certifierRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="certifierComment" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="originMappingName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
static QName |
F_CERTIFICATION_FINISHED_TIMESTAMP |
static QName |
F_CERTIFICATION_OUTCOME |
static QName |
F_CERTIFIER_COMMENT |
static QName |
F_CERTIFIER_REF |
static QName |
F_CREATE_APPROVAL_COMMENT |
static QName |
F_CREATE_APPROVAL_TIMESTAMP |
static QName |
F_CREATE_APPROVER_REF |
static QName |
F_CREATE_CHANNEL |
static QName |
F_CREATE_TASK_REF |
static QName |
F_CREATE_TIMESTAMP |
static QName |
F_CREATOR_REF |
static QName |
F_LAST_PROVISIONING_TIMESTAMP |
static QName |
F_MODIFIER_REF |
static QName |
F_MODIFY_APPROVAL_COMMENT |
static QName |
F_MODIFY_APPROVAL_TIMESTAMP |
static QName |
F_MODIFY_APPROVER_REF |
static QName |
F_MODIFY_CHANNEL |
static QName |
F_MODIFY_TASK_REF |
static QName |
F_MODIFY_TIMESTAMP |
static QName |
F_ORIGIN_MAPPING_NAME |
static QName |
F_REQUEST_TIMESTAMP |
static QName |
F_REQUESTOR_COMMENT |
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_REQUESTOR_COMMENT
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_COMMENT
public static final QName F_CREATE_APPROVAL_TIMESTAMP
public static final QName F_CREATE_CHANNEL
public static final QName F_CREATE_TASK_REF
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_COMMENT
public static final QName F_MODIFY_APPROVAL_TIMESTAMP
public static final QName F_MODIFY_CHANNEL
public static final QName F_MODIFY_TASK_REF
public static final QName F_LAST_PROVISIONING_TIMESTAMP
public static final QName F_CERTIFICATION_FINISHED_TIMESTAMP
public static final QName F_CERTIFICATION_OUTCOME
public static final QName F_CERTIFIER_REF
public static final QName F_CERTIFIER_COMMENT
public static final QName F_ORIGIN_MAPPING_NAME
public MetadataType()
public MetadataType(PrismContext prismContext)
public PrismContainerValue asPrismContainerValue()
asPrismContainerValue
in interface Containerable
public void setupContainerValue(PrismContainerValue containerValue)
Containerable
setupContainerValue
in interface Containerable
public <X> X end()
public XMLGregorianCalendar getRequestTimestamp()
public void setRequestTimestamp(XMLGregorianCalendar value)
public ObjectReferenceType getRequestorRef()
public void setRequestorRef(ObjectReferenceType value)
public String getRequestorComment()
public void setRequestorComment(String value)
public XMLGregorianCalendar getCreateTimestamp()
public void setCreateTimestamp(XMLGregorianCalendar value)
public ObjectReferenceType getCreatorRef()
public void setCreatorRef(ObjectReferenceType value)
public List<ObjectReferenceType> getCreateApproverRef()
public List<ObjectReferenceType> createCreateApproverRefList()
public XMLGregorianCalendar getCreateApprovalTimestamp()
public void setCreateApprovalTimestamp(XMLGregorianCalendar value)
public String getCreateChannel()
public void setCreateChannel(String value)
public ObjectReferenceType getCreateTaskRef()
public void setCreateTaskRef(ObjectReferenceType value)
public XMLGregorianCalendar getModifyTimestamp()
public void setModifyTimestamp(XMLGregorianCalendar value)
public ObjectReferenceType getModifierRef()
public void setModifierRef(ObjectReferenceType value)
public List<ObjectReferenceType> getModifyApproverRef()
public List<ObjectReferenceType> createModifyApproverRefList()
public XMLGregorianCalendar getModifyApprovalTimestamp()
public void setModifyApprovalTimestamp(XMLGregorianCalendar value)
public String getModifyChannel()
public void setModifyChannel(String value)
public ObjectReferenceType getModifyTaskRef()
public void setModifyTaskRef(ObjectReferenceType value)
public XMLGregorianCalendar getLastProvisioningTimestamp()
public void setLastProvisioningTimestamp(XMLGregorianCalendar value)
public XMLGregorianCalendar getCertificationFinishedTimestamp()
public void setCertificationFinishedTimestamp(XMLGregorianCalendar value)
public String getCertificationOutcome()
public void setCertificationOutcome(String value)
public List<ObjectReferenceType> getCertifierRef()
public List<ObjectReferenceType> createCertifierRefList()
public String getOriginMappingName()
public void setOriginMappingName(String value)
public MetadataType requestTimestamp(XMLGregorianCalendar value)
public MetadataType requestTimestamp(String value)
public MetadataType requestorRef(ObjectReferenceType value)
public MetadataType requestorRef(String oid, QName type)
public MetadataType requestorRef(String oid, QName type, QName relation)
public ObjectReferenceType beginRequestorRef()
public MetadataType requestorComment(String value)
public MetadataType createTimestamp(XMLGregorianCalendar value)
public MetadataType createTimestamp(String value)
public MetadataType creatorRef(ObjectReferenceType value)
public MetadataType creatorRef(String oid, QName type)
public MetadataType creatorRef(String oid, QName type, QName relation)
public ObjectReferenceType beginCreatorRef()
public MetadataType createApproverRef(ObjectReferenceType value)
public MetadataType createApproverRef(String oid, QName type)
public MetadataType createApproverRef(String oid, QName type, QName relation)
public ObjectReferenceType beginCreateApproverRef()
public MetadataType createApprovalComment(String value)
public MetadataType createApprovalTimestamp(XMLGregorianCalendar value)
public MetadataType createApprovalTimestamp(String value)
public MetadataType createChannel(String value)
public MetadataType createTaskRef(ObjectReferenceType value)
public MetadataType createTaskRef(String oid, QName type)
public MetadataType createTaskRef(String oid, QName type, QName relation)
public ObjectReferenceType beginCreateTaskRef()
public MetadataType modifyTimestamp(XMLGregorianCalendar value)
public MetadataType modifyTimestamp(String value)
public MetadataType modifierRef(ObjectReferenceType value)
public MetadataType modifierRef(String oid, QName type)
public MetadataType modifierRef(String oid, QName type, QName relation)
public ObjectReferenceType beginModifierRef()
public MetadataType modifyApproverRef(ObjectReferenceType value)
public MetadataType modifyApproverRef(String oid, QName type)
public MetadataType modifyApproverRef(String oid, QName type, QName relation)
public ObjectReferenceType beginModifyApproverRef()
public MetadataType modifyApprovalComment(String value)
public MetadataType modifyApprovalTimestamp(XMLGregorianCalendar value)
public MetadataType modifyApprovalTimestamp(String value)
public MetadataType modifyChannel(String value)
public MetadataType modifyTaskRef(ObjectReferenceType value)
public MetadataType modifyTaskRef(String oid, QName type)
public MetadataType modifyTaskRef(String oid, QName type, QName relation)
public ObjectReferenceType beginModifyTaskRef()
public MetadataType lastProvisioningTimestamp(XMLGregorianCalendar value)
public MetadataType lastProvisioningTimestamp(String value)
public MetadataType certificationFinishedTimestamp(XMLGregorianCalendar value)
public MetadataType certificationFinishedTimestamp(String value)
public MetadataType certificationOutcome(String value)
public MetadataType certifierRef(ObjectReferenceType value)
public MetadataType certifierRef(String oid, QName type)
public MetadataType certifierRef(String oid, QName type, QName relation)
public ObjectReferenceType beginCertifierRef()
public MetadataType certifierComment(String value)
public MetadataType originMappingName(String value)
public MetadataType clone()
Copyright © 2019 Evolveum. All rights reserved.