public class MetadataType extends Object implements Serializable, Cloneable, com.evolveum.midpoint.prism.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"> Mata-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"> 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="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="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="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_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_APPROVER_REF |
static QName |
F_MODIFY_CHANNEL |
static QName |
F_MODIFY_TIMESTAMP |
Constructor and Description |
---|
MetadataType() |
MetadataType(com.evolveum.midpoint.prism.PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
com.evolveum.midpoint.prism.PrismContainerValue |
asPrismContainerValue() |
MetadataType |
clone() |
boolean |
equals(Object object) |
List<ObjectReferenceType> |
getCreateApproverRef() |
String |
getCreateChannel() |
XMLGregorianCalendar |
getCreateTimestamp() |
ObjectReferenceType |
getCreatorRef() |
ObjectReferenceType |
getModifierRef() |
List<ObjectReferenceType> |
getModifyApproverRef() |
String |
getModifyChannel() |
XMLGregorianCalendar |
getModifyTimestamp() |
int |
hashCode() |
void |
setCreateChannel(String value) |
void |
setCreateTimestamp(XMLGregorianCalendar value) |
void |
setCreatorRef(ObjectReferenceType value) |
void |
setModifierRef(ObjectReferenceType value) |
void |
setModifyChannel(String value) |
void |
setModifyTimestamp(XMLGregorianCalendar value) |
void |
setupContainerValue(com.evolveum.midpoint.prism.PrismContainerValue containerValue) |
String |
toString() |
public static final QName COMPLEX_TYPE
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_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_CHANNEL
public MetadataType()
public MetadataType(com.evolveum.midpoint.prism.PrismContext prismContext)
public com.evolveum.midpoint.prism.PrismContainerValue asPrismContainerValue()
asPrismContainerValue
in interface com.evolveum.midpoint.prism.Containerable
public void setupContainerValue(com.evolveum.midpoint.prism.PrismContainerValue containerValue)
setupContainerValue
in interface com.evolveum.midpoint.prism.Containerable
public XMLGregorianCalendar getCreateTimestamp()
public void setCreateTimestamp(XMLGregorianCalendar value)
public ObjectReferenceType getCreatorRef()
public void setCreatorRef(ObjectReferenceType value)
public List<ObjectReferenceType> getCreateApproverRef()
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 String getModifyChannel()
public void setModifyChannel(String value)
public MetadataType clone()
Copyright © 2016 Evolveum. All rights reserved.