Class MetadataType
java.lang.Object
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.xml.ns._public.common.common_3.MetadataType
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class MetadataType
extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
Meta-data about data creation, modification, etc.
It may apply to objects but also parts of the object (e.g. assignments).
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.
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.
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.
Meta-data are also supposed to be searchable. Therefore they may be used to quickly find
"candidate" objects for a closer examination.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final Producer<MetadataType>
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncertificationOutcome
(String value) certifierComment
(String value) certifierRef
(ObjectReferenceType value) certifierRef
(String oid, QName type) certifierRef
(String oid, QName type, QName relation) clone()
createApprovalComment
(String value) createApprovalTimestamp
(String value) createApproverRef
(String oid, QName type) createApproverRef
(String oid, QName type, QName relation) createChannel
(String value) createTaskRef
(ObjectReferenceType value) createTaskRef
(String oid, QName type) createTaskRef
(String oid, QName type, QName relation) createTimestamp
(String value) creatorRef
(ObjectReferenceType value) creatorRef
(String oid, QName type) creatorRef
(String oid, QName type, QName relation) <X> X
end()
boolean
lastProvisioningTimestamp
(String value) modifierRef
(ObjectReferenceType value) modifierRef
(String oid, QName type) modifierRef
(String oid, QName type, QName relation) modifyApprovalComment
(String value) modifyApprovalTimestamp
(String value) modifyApproverRef
(String oid, QName type) modifyApproverRef
(String oid, QName type, QName relation) modifyChannel
(String value) modifyTaskRef
(ObjectReferenceType value) modifyTaskRef
(String oid, QName type) modifyTaskRef
(String oid, QName type, QName relation) modifyTimestamp
(String value) originMappingName
(String value) requestorComment
(String value) requestorRef
(ObjectReferenceType value) requestorRef
(String oid, QName type) requestorRef
(String oid, QName type, QName relation) requestTimestamp
(String value) void
void
setCertificationOutcome
(String value) void
void
setCreateChannel
(String value) void
void
void
setCreatorRef
(ObjectReferenceType value) void
void
void
void
setModifyChannel
(String value) void
void
void
setOriginMappingName
(String value) void
setRequestorComment
(String value) void
void
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
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, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Field Details
-
COMPLEX_TYPE
-
F_REQUEST_TIMESTAMP
-
F_REQUESTOR_REF
-
F_REQUESTOR_COMMENT
-
F_CREATE_TIMESTAMP
-
F_CREATOR_REF
-
F_CREATE_APPROVER_REF
-
F_CREATE_APPROVAL_COMMENT
-
F_CREATE_APPROVAL_TIMESTAMP
-
F_CREATE_CHANNEL
-
F_CREATE_TASK_REF
-
F_MODIFY_TIMESTAMP
-
F_MODIFIER_REF
-
F_MODIFY_APPROVER_REF
-
F_MODIFY_APPROVAL_COMMENT
-
F_MODIFY_APPROVAL_TIMESTAMP
-
F_MODIFY_CHANNEL
-
F_MODIFY_TASK_REF
-
F_LAST_PROVISIONING_TIMESTAMP
-
F_CERTIFICATION_FINISHED_TIMESTAMP
-
F_CERTIFICATION_OUTCOME
-
F_CERTIFIER_REF
-
F_CERTIFIER_COMMENT
-
F_ORIGIN_MAPPING_NAME
-
FACTORY
-
-
Constructor Details
-
MetadataType
public MetadataType() -
MetadataType
Deprecated.
-
-
Method Details
-
getRequestTimestamp
-
setRequestTimestamp
-
getRequestorRef
-
setRequestorRef
-
getRequestorComment
-
setRequestorComment
-
getCreateTimestamp
-
setCreateTimestamp
-
getCreatorRef
-
setCreatorRef
-
getCreateApproverRef
-
getCreateApprovalComment
-
getCreateApprovalTimestamp
-
setCreateApprovalTimestamp
-
getCreateChannel
-
setCreateChannel
-
getCreateTaskRef
-
setCreateTaskRef
-
getModifyTimestamp
-
setModifyTimestamp
-
getModifierRef
-
setModifierRef
-
getModifyApproverRef
-
getModifyApprovalComment
-
getModifyApprovalTimestamp
-
setModifyApprovalTimestamp
-
getModifyChannel
-
setModifyChannel
-
getModifyTaskRef
-
setModifyTaskRef
-
getLastProvisioningTimestamp
-
setLastProvisioningTimestamp
-
getCertificationFinishedTimestamp
-
setCertificationFinishedTimestamp
-
getCertificationOutcome
-
setCertificationOutcome
-
getCertifierRef
-
getCertifierComment
-
getOriginMappingName
-
setOriginMappingName
-
equals
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
requestTimestamp
-
requestTimestamp
-
requestorRef
-
requestorRef
-
requestorRef
-
beginRequestorRef
-
requestorComment
-
createTimestamp
-
createTimestamp
-
creatorRef
-
creatorRef
-
creatorRef
-
beginCreatorRef
-
createApproverRef
-
createApproverRef
-
createApproverRef
-
beginCreateApproverRef
-
createApprovalComment
-
createApprovalTimestamp
-
createApprovalTimestamp
-
createChannel
-
createTaskRef
-
createTaskRef
-
createTaskRef
-
beginCreateTaskRef
-
modifyTimestamp
-
modifyTimestamp
-
modifierRef
-
modifierRef
-
modifierRef
-
beginModifierRef
-
modifyApproverRef
-
modifyApproverRef
-
modifyApproverRef
-
beginModifyApproverRef
-
modifyApprovalComment
-
modifyApprovalTimestamp
-
modifyApprovalTimestamp
-
modifyChannel
-
modifyTaskRef
-
modifyTaskRef
-
modifyTaskRef
-
beginModifyTaskRef
-
lastProvisioningTimestamp
-
lastProvisioningTimestamp
-
certificationFinishedTimestamp
-
certificationFinishedTimestamp
-
certificationOutcome
-
certifierRef
-
certifierRef
-
certifierRef
-
beginCertifierRef
-
certifierComment
-
originMappingName
-
end
public <X> X end() -
clone
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-