Class MetadataType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.MetadataType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
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:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-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:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-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:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-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:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-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:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-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>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_CERTIFICATION_FINISHED_TIMESTAMP
static ItemName
F_CERTIFICATION_OUTCOME
static ItemName
F_CERTIFIER_COMMENT
static ItemName
F_CERTIFIER_REF
static ItemName
F_CREATE_APPROVAL_COMMENT
static ItemName
F_CREATE_APPROVAL_TIMESTAMP
static ItemName
F_CREATE_APPROVER_REF
static ItemName
F_CREATE_CHANNEL
static ItemName
F_CREATE_TASK_REF
static ItemName
F_CREATE_TIMESTAMP
static ItemName
F_CREATOR_REF
static ItemName
F_LAST_PROVISIONING_TIMESTAMP
static ItemName
F_MODIFIER_REF
static ItemName
F_MODIFY_APPROVAL_COMMENT
static ItemName
F_MODIFY_APPROVAL_TIMESTAMP
static ItemName
F_MODIFY_APPROVER_REF
static ItemName
F_MODIFY_CHANNEL
static ItemName
F_MODIFY_TASK_REF
static ItemName
F_MODIFY_TIMESTAMP
static ItemName
F_ORIGIN_MAPPING_NAME
static ItemName
F_REQUEST_TIMESTAMP
static ItemName
F_REQUESTOR_COMMENT
static ItemName
F_REQUESTOR_REF
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description MetadataType()
MetadataType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_REQUEST_TIMESTAMP
public static final ItemName F_REQUEST_TIMESTAMP
-
F_REQUESTOR_REF
public static final ItemName F_REQUESTOR_REF
-
F_REQUESTOR_COMMENT
public static final ItemName F_REQUESTOR_COMMENT
-
F_CREATE_TIMESTAMP
public static final ItemName F_CREATE_TIMESTAMP
-
F_CREATOR_REF
public static final ItemName F_CREATOR_REF
-
F_CREATE_APPROVER_REF
public static final ItemName F_CREATE_APPROVER_REF
-
F_CREATE_APPROVAL_COMMENT
public static final ItemName F_CREATE_APPROVAL_COMMENT
-
F_CREATE_APPROVAL_TIMESTAMP
public static final ItemName F_CREATE_APPROVAL_TIMESTAMP
-
F_CREATE_CHANNEL
public static final ItemName F_CREATE_CHANNEL
-
F_CREATE_TASK_REF
public static final ItemName F_CREATE_TASK_REF
-
F_MODIFY_TIMESTAMP
public static final ItemName F_MODIFY_TIMESTAMP
-
F_MODIFIER_REF
public static final ItemName F_MODIFIER_REF
-
F_MODIFY_APPROVER_REF
public static final ItemName F_MODIFY_APPROVER_REF
-
F_MODIFY_APPROVAL_COMMENT
public static final ItemName F_MODIFY_APPROVAL_COMMENT
-
F_MODIFY_APPROVAL_TIMESTAMP
public static final ItemName F_MODIFY_APPROVAL_TIMESTAMP
-
F_MODIFY_CHANNEL
public static final ItemName F_MODIFY_CHANNEL
-
F_MODIFY_TASK_REF
public static final ItemName F_MODIFY_TASK_REF
-
F_LAST_PROVISIONING_TIMESTAMP
public static final ItemName F_LAST_PROVISIONING_TIMESTAMP
-
F_CERTIFICATION_FINISHED_TIMESTAMP
public static final ItemName F_CERTIFICATION_FINISHED_TIMESTAMP
-
F_CERTIFICATION_OUTCOME
public static final ItemName F_CERTIFICATION_OUTCOME
-
F_CERTIFIER_REF
public static final ItemName F_CERTIFIER_REF
-
F_CERTIFIER_COMMENT
public static final ItemName F_CERTIFIER_COMMENT
-
F_ORIGIN_MAPPING_NAME
public static final ItemName F_ORIGIN_MAPPING_NAME
-
-
Constructor Detail
-
MetadataType
public MetadataType()
-
MetadataType
public MetadataType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getRequestTimestamp
public XMLGregorianCalendar getRequestTimestamp()
-
setRequestTimestamp
public void setRequestTimestamp(XMLGregorianCalendar value)
-
getRequestorRef
public ObjectReferenceType getRequestorRef()
-
setRequestorRef
public void setRequestorRef(ObjectReferenceType value)
-
getRequestorComment
public String getRequestorComment()
-
setRequestorComment
public void setRequestorComment(String value)
-
getCreateTimestamp
public XMLGregorianCalendar getCreateTimestamp()
-
setCreateTimestamp
public void setCreateTimestamp(XMLGregorianCalendar value)
-
getCreatorRef
public ObjectReferenceType getCreatorRef()
-
setCreatorRef
public void setCreatorRef(ObjectReferenceType value)
-
getCreateApproverRef
public List<ObjectReferenceType> getCreateApproverRef()
-
createCreateApproverRefList
public List<ObjectReferenceType> createCreateApproverRefList()
-
getCreateApprovalTimestamp
public XMLGregorianCalendar getCreateApprovalTimestamp()
-
setCreateApprovalTimestamp
public void setCreateApprovalTimestamp(XMLGregorianCalendar value)
-
getCreateChannel
public String getCreateChannel()
-
setCreateChannel
public void setCreateChannel(String value)
-
getCreateTaskRef
public ObjectReferenceType getCreateTaskRef()
-
setCreateTaskRef
public void setCreateTaskRef(ObjectReferenceType value)
-
getModifyTimestamp
public XMLGregorianCalendar getModifyTimestamp()
-
setModifyTimestamp
public void setModifyTimestamp(XMLGregorianCalendar value)
-
getModifierRef
public ObjectReferenceType getModifierRef()
-
setModifierRef
public void setModifierRef(ObjectReferenceType value)
-
getModifyApproverRef
public List<ObjectReferenceType> getModifyApproverRef()
-
createModifyApproverRefList
public List<ObjectReferenceType> createModifyApproverRefList()
-
getModifyApprovalTimestamp
public XMLGregorianCalendar getModifyApprovalTimestamp()
-
setModifyApprovalTimestamp
public void setModifyApprovalTimestamp(XMLGregorianCalendar value)
-
getModifyChannel
public String getModifyChannel()
-
setModifyChannel
public void setModifyChannel(String value)
-
getModifyTaskRef
public ObjectReferenceType getModifyTaskRef()
-
setModifyTaskRef
public void setModifyTaskRef(ObjectReferenceType value)
-
getLastProvisioningTimestamp
public XMLGregorianCalendar getLastProvisioningTimestamp()
-
setLastProvisioningTimestamp
public void setLastProvisioningTimestamp(XMLGregorianCalendar value)
-
getCertificationFinishedTimestamp
public XMLGregorianCalendar getCertificationFinishedTimestamp()
-
setCertificationFinishedTimestamp
public void setCertificationFinishedTimestamp(XMLGregorianCalendar value)
-
getCertificationOutcome
public String getCertificationOutcome()
-
setCertificationOutcome
public void setCertificationOutcome(String value)
-
getCertifierRef
public List<ObjectReferenceType> getCertifierRef()
-
createCertifierRefList
public List<ObjectReferenceType> createCertifierRefList()
-
getOriginMappingName
public String getOriginMappingName()
-
setOriginMappingName
public void setOriginMappingName(String value)
-
requestTimestamp
public MetadataType requestTimestamp(XMLGregorianCalendar value)
-
requestTimestamp
public MetadataType requestTimestamp(String value)
-
requestorRef
public MetadataType requestorRef(ObjectReferenceType value)
-
requestorRef
public MetadataType requestorRef(String oid, QName type)
-
requestorRef
public MetadataType requestorRef(String oid, QName type, QName relation)
-
beginRequestorRef
public ObjectReferenceType beginRequestorRef()
-
requestorComment
public MetadataType requestorComment(String value)
-
createTimestamp
public MetadataType createTimestamp(XMLGregorianCalendar value)
-
createTimestamp
public MetadataType createTimestamp(String value)
-
creatorRef
public MetadataType creatorRef(ObjectReferenceType value)
-
creatorRef
public MetadataType creatorRef(String oid, QName type)
-
creatorRef
public MetadataType creatorRef(String oid, QName type, QName relation)
-
beginCreatorRef
public ObjectReferenceType beginCreatorRef()
-
createApproverRef
public MetadataType createApproverRef(ObjectReferenceType value)
-
createApproverRef
public MetadataType createApproverRef(String oid, QName type)
-
createApproverRef
public MetadataType createApproverRef(String oid, QName type, QName relation)
-
beginCreateApproverRef
public ObjectReferenceType beginCreateApproverRef()
-
createApprovalComment
public MetadataType createApprovalComment(String value)
-
createApprovalTimestamp
public MetadataType createApprovalTimestamp(XMLGregorianCalendar value)
-
createApprovalTimestamp
public MetadataType createApprovalTimestamp(String value)
-
createChannel
public MetadataType createChannel(String value)
-
createTaskRef
public MetadataType createTaskRef(ObjectReferenceType value)
-
createTaskRef
public MetadataType createTaskRef(String oid, QName type)
-
createTaskRef
public MetadataType createTaskRef(String oid, QName type, QName relation)
-
beginCreateTaskRef
public ObjectReferenceType beginCreateTaskRef()
-
modifyTimestamp
public MetadataType modifyTimestamp(XMLGregorianCalendar value)
-
modifyTimestamp
public MetadataType modifyTimestamp(String value)
-
modifierRef
public MetadataType modifierRef(ObjectReferenceType value)
-
modifierRef
public MetadataType modifierRef(String oid, QName type)
-
modifierRef
public MetadataType modifierRef(String oid, QName type, QName relation)
-
beginModifierRef
public ObjectReferenceType beginModifierRef()
-
modifyApproverRef
public MetadataType modifyApproverRef(ObjectReferenceType value)
-
modifyApproverRef
public MetadataType modifyApproverRef(String oid, QName type)
-
modifyApproverRef
public MetadataType modifyApproverRef(String oid, QName type, QName relation)
-
beginModifyApproverRef
public ObjectReferenceType beginModifyApproverRef()
-
modifyApprovalComment
public MetadataType modifyApprovalComment(String value)
-
modifyApprovalTimestamp
public MetadataType modifyApprovalTimestamp(XMLGregorianCalendar value)
-
modifyApprovalTimestamp
public MetadataType modifyApprovalTimestamp(String value)
-
modifyChannel
public MetadataType modifyChannel(String value)
-
modifyTaskRef
public MetadataType modifyTaskRef(ObjectReferenceType value)
-
modifyTaskRef
public MetadataType modifyTaskRef(String oid, QName type)
-
modifyTaskRef
public MetadataType modifyTaskRef(String oid, QName type, QName relation)
-
beginModifyTaskRef
public ObjectReferenceType beginModifyTaskRef()
-
lastProvisioningTimestamp
public MetadataType lastProvisioningTimestamp(XMLGregorianCalendar value)
-
lastProvisioningTimestamp
public MetadataType lastProvisioningTimestamp(String value)
-
certificationFinishedTimestamp
public MetadataType certificationFinishedTimestamp(XMLGregorianCalendar value)
-
certificationFinishedTimestamp
public MetadataType certificationFinishedTimestamp(String value)
-
certificationOutcome
public MetadataType certificationOutcome(String value)
-
certifierRef
public MetadataType certifierRef(ObjectReferenceType value)
-
certifierRef
public MetadataType certifierRef(String oid, QName type)
-
certifierRef
public MetadataType certifierRef(String oid, QName type, QName relation)
-
beginCertifierRef
public ObjectReferenceType beginCertifierRef()
-
certifierComment
public MetadataType certifierComment(String value)
-
originMappingName
public MetadataType originMappingName(String value)
-
clone
public MetadataType clone()
-
-