Class ObjectType
- java.lang.Object
-
- com.evolveum.prism.xml.ns._public.types_3.ObjectType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
-
- All Implemented Interfaces:
Containerable,JaxbVisitable,Objectable,DebugDumpable,Serializable,Cloneable
- Direct Known Subclasses:
AssignmentHolderType,ShadowType
public abstract class ObjectType extends ObjectType implements Serializable, Cloneable, Objectable
<?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"> Common supertype for all identity objects. Defines basic properties that each object must have to live in our system (identifier, name). </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"> All objects are identified by OID. The OID is an immutable identifier (usually UUID). Except the OID all the objects have human-readable name. The name is usually unique for each object type, but this is not a strict requirement. </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"> Note: object type is fixed, it cannot be changed. The object retains its type from the time it was created to the end of its life. </p>Java class for ObjectType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObjectType"> <complexContent> <extension base="{http://prism.evolveum.com/xml/ns/public/types-3}ObjectType"> <sequence> <element name="name" type="{http://prism.evolveum.com/xml/ns/public/types-3}PolyStringType" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}description" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" minOccurs="0"/> <element name="subtype" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="fetchResult" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OperationResultType" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}extension" minOccurs="0"/> <element name="parentOrgRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" maxOccurs="unbounded" minOccurs="0"/> <element name="trigger" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TriggerType" maxOccurs="unbounded" minOccurs="0"/> <element name="metadata" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MetadataType" minOccurs="0"/> <element name="tenantRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="lifecycleState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="operationExecution" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OperationExecutionType" maxOccurs="unbounded" minOccurs="0"/> <element name="lensContext" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LensContextType" minOccurs="0"/> <element name="policySituation" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> <element name="triggeredPolicyRule" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}EvaluatedPolicyRuleType" maxOccurs="unbounded" minOccurs="0"/> <element name="policyException" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PolicyExceptionType" maxOccurs="unbounded" minOccurs="0"/> <element name="diagnosticInformation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}DiagnosticInformationType" maxOccurs="unbounded" minOccurs="0"/> <element name="indestructible" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> </sequence> <attribute name="oid" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_DESCRIPTIONstatic ItemNameF_DIAGNOSTIC_INFORMATIONstatic ItemNameF_DOCUMENTATIONstatic ItemNameF_EXTENSIONstatic ItemNameF_FETCH_RESULTstatic ItemNameF_INDESTRUCTIBLEstatic ItemNameF_LENS_CONTEXTstatic ItemNameF_LIFECYCLE_STATEstatic ItemNameF_METADATAstatic ItemNameF_NAMEstatic ItemNameF_OPERATION_EXECUTIONstatic ItemNameF_PARENT_ORG_REFstatic ItemNameF_POLICY_EXCEPTIONstatic ItemNameF_POLICY_SITUATIONstatic ItemNameF_SUBTYPEstatic ItemNameF_TENANT_REFstatic ItemNameF_TRIGGERstatic ItemNameF_TRIGGERED_POLICY_RULE-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ObjectType()ObjectType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.prism.xml.ns._public.types_3.ObjectType
accept
-
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_NAME
public static final ItemName F_NAME
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
F_SUBTYPE
public static final ItemName F_SUBTYPE
-
F_FETCH_RESULT
public static final ItemName F_FETCH_RESULT
-
F_EXTENSION
public static final ItemName F_EXTENSION
-
F_PARENT_ORG_REF
public static final ItemName F_PARENT_ORG_REF
-
F_TRIGGER
public static final ItemName F_TRIGGER
-
F_METADATA
public static final ItemName F_METADATA
-
F_TENANT_REF
public static final ItemName F_TENANT_REF
-
F_LIFECYCLE_STATE
public static final ItemName F_LIFECYCLE_STATE
-
F_OPERATION_EXECUTION
public static final ItemName F_OPERATION_EXECUTION
-
F_LENS_CONTEXT
public static final ItemName F_LENS_CONTEXT
-
F_POLICY_SITUATION
public static final ItemName F_POLICY_SITUATION
-
F_TRIGGERED_POLICY_RULE
public static final ItemName F_TRIGGERED_POLICY_RULE
-
F_POLICY_EXCEPTION
public static final ItemName F_POLICY_EXCEPTION
-
F_DIAGNOSTIC_INFORMATION
public static final ItemName F_DIAGNOSTIC_INFORMATION
-
F_INDESTRUCTIBLE
public static final ItemName F_INDESTRUCTIBLE
-
-
Constructor Detail
-
ObjectType
public ObjectType()
-
ObjectType
public ObjectType(PrismContext prismContext)
-
-
Method Detail
-
asPrismObject
public PrismObject<? extends ObjectType> asPrismObject()
- Specified by:
asPrismObjectin interfaceObjectable
-
setupContainer
public void setupContainer(PrismObject container)
- Specified by:
setupContainerin interfaceObjectable
-
asPrismContainer
public PrismObject asPrismContainer()
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValuein interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:ContainerableSetup 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:
setupContainerValuein interfaceContainerable
-
toDebugName
public String toDebugName()
Description copied from interface:ObjectableReturns short string representing identity of this object. It should container object type, OID and name. It should be presented in a form suitable for log and diagnostic messages (understandable for system administrator).- Specified by:
toDebugNamein interfaceObjectable
-
toDebugType
public String toDebugType()
Description copied from interface:ObjectableReturns short string identification of object type. It should be in a form suitable for log messages. There is no requirement for the type name to be unique, but it rather has to be compact. E.g. short element names are preferred to long QNames or URIs.- Specified by:
toDebugTypein interfaceObjectable- Returns:
-
end
public <X> X end()
-
getName
public PolyStringType getName()
- Specified by:
getNamein interfaceObjectable
-
setName
public void setName(PolyStringType value)
- Specified by:
setNamein interfaceObjectable
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceObjectable
-
setDescription
public void setDescription(String value)
- Specified by:
setDescriptionin interfaceObjectable
-
getDocumentation
public String getDocumentation()
-
setDocumentation
public void setDocumentation(String value)
-
getFetchResult
public OperationResultType getFetchResult()
-
setFetchResult
public void setFetchResult(OperationResultType value)
-
getExtension
public ExtensionType getExtension()
-
setExtension
public void setExtension(ExtensionType value)
-
getParentOrgRef
public List<ObjectReferenceType> getParentOrgRef()
-
createParentOrgRefList
public List<ObjectReferenceType> createParentOrgRefList()
-
getTrigger
public List<TriggerType> getTrigger()
-
createTriggerList
public List<TriggerType> createTriggerList()
-
getMetadata
public MetadataType getMetadata()
-
setMetadata
public void setMetadata(MetadataType value)
-
getTenantRef
public ObjectReferenceType getTenantRef()
-
setTenantRef
public void setTenantRef(ObjectReferenceType value)
-
getLifecycleState
public String getLifecycleState()
-
setLifecycleState
public void setLifecycleState(String value)
-
getOperationExecution
public List<OperationExecutionType> getOperationExecution()
-
createOperationExecutionList
public List<OperationExecutionType> createOperationExecutionList()
-
getLensContext
public LensContextType getLensContext()
-
setLensContext
public void setLensContext(LensContextType value)
-
getTriggeredPolicyRule
public List<EvaluatedPolicyRuleType> getTriggeredPolicyRule()
-
createTriggeredPolicyRuleList
public List<EvaluatedPolicyRuleType> createTriggeredPolicyRuleList()
-
getPolicyException
public List<PolicyExceptionType> getPolicyException()
-
createPolicyExceptionList
public List<PolicyExceptionType> createPolicyExceptionList()
-
getDiagnosticInformation
public List<DiagnosticInformationType> getDiagnosticInformation()
-
createDiagnosticInformationList
public List<DiagnosticInformationType> createDiagnosticInformationList()
-
isIndestructible
public Boolean isIndestructible()
-
setIndestructible
public void setIndestructible(Boolean value)
-
getOid
public String getOid()
- Specified by:
getOidin interfaceObjectable
-
setOid
public void setOid(String value)
- Specified by:
setOidin interfaceObjectable
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceObjectable
-
setVersion
public void setVersion(String value)
- Specified by:
setVersionin interfaceObjectable
-
name
public ObjectType name(PolyStringType value)
-
name
public ObjectType name(String value)
-
beginName
public PolyStringType beginName()
-
description
public ObjectType description(String value)
-
documentation
public ObjectType documentation(String value)
-
subtype
public ObjectType subtype(String value)
-
fetchResult
public ObjectType fetchResult(OperationResultType value)
-
beginFetchResult
public OperationResultType beginFetchResult()
-
extension
public ObjectType extension(ExtensionType value)
-
beginExtension
public ExtensionType beginExtension()
-
parentOrgRef
public ObjectType parentOrgRef(ObjectReferenceType value)
-
parentOrgRef
public ObjectType parentOrgRef(String oid, QName type)
-
parentOrgRef
public ObjectType parentOrgRef(String oid, QName type, QName relation)
-
beginParentOrgRef
public ObjectReferenceType beginParentOrgRef()
-
trigger
public ObjectType trigger(TriggerType value)
-
beginTrigger
public TriggerType beginTrigger()
-
metadata
public ObjectType metadata(MetadataType value)
-
beginMetadata
public MetadataType beginMetadata()
-
tenantRef
public ObjectType tenantRef(ObjectReferenceType value)
-
tenantRef
public ObjectType tenantRef(String oid, QName type)
-
tenantRef
public ObjectType tenantRef(String oid, QName type, QName relation)
-
beginTenantRef
public ObjectReferenceType beginTenantRef()
-
lifecycleState
public ObjectType lifecycleState(String value)
-
operationExecution
public ObjectType operationExecution(OperationExecutionType value)
-
beginOperationExecution
public OperationExecutionType beginOperationExecution()
-
lensContext
public ObjectType lensContext(LensContextType value)
-
beginLensContext
public LensContextType beginLensContext()
-
policySituation
public ObjectType policySituation(String value)
-
triggeredPolicyRule
public ObjectType triggeredPolicyRule(EvaluatedPolicyRuleType value)
-
beginTriggeredPolicyRule
public EvaluatedPolicyRuleType beginTriggeredPolicyRule()
-
policyException
public ObjectType policyException(PolicyExceptionType value)
-
beginPolicyException
public PolicyExceptionType beginPolicyException()
-
diagnosticInformation
public ObjectType diagnosticInformation(DiagnosticInformationType value)
-
beginDiagnosticInformation
public DiagnosticInformationType beginDiagnosticInformation()
-
indestructible
public ObjectType indestructible(Boolean value)
-
oid
public ObjectType oid(String value)
-
version
public ObjectType version(String value)
-
clone
public ObjectType clone()
-
-