Class ObjectType
- java.lang.Object
-
- com.evolveum.prism.xml.ns._public.types_3.ObjectType
-
- com.evolveum.midpoint.prism.impl.binding.AbstractMutableObjectable
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
-
- All Implemented Interfaces:
Containerable,Freezable,ContainerablePrismBinding,JaxbVisitable,Objectable,DebugDumpable,Serializable,Cloneable
- Direct Known Subclasses:
AssignmentHolderType,ShadowType
public abstract class ObjectType extends AbstractMutableObjectable implements Objectable
Common supertype for all identity objects. Defines basic properties that each object must have to live in our system (identifier, name). 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. 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.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
ContainerablePrismBinding.ContainerableList<T extends Containerable>, ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic QNameCONTAINER_NAMEstatic ItemNameF_DESCRIPTIONstatic ItemNameF_DIAGNOSTIC_INFORMATIONstatic ItemNameF_DOCUMENTATIONstatic ItemNameF_EFFECTIVE_MARK_REFstatic ItemNameF_EFFECTIVE_OPERATION_POLICYstatic 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_POLICY_STATEMENTstatic 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 context)Deprecated.
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableObjectable
asPrismContainer, asPrismContainerValue, getOid, getVersion, hashCode, setOid, setupContainer, setupContainerValue, setVersion, toDebugName, toDebugType, toString
-
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
asPrismContainerValue, cloneWithoutId, debugDump, freeze, isImmutable, setupContainerValue
-
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
-
Methods inherited from interface com.evolveum.midpoint.prism.Objectable
getOid, getVersion, setOid, setupContainer, setVersion, toDebugName, toDebugType
-
-
-
-
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
-
F_EFFECTIVE_MARK_REF
public static final ItemName F_EFFECTIVE_MARK_REF
-
F_POLICY_STATEMENT
public static final ItemName F_POLICY_STATEMENT
-
F_EFFECTIVE_OPERATION_POLICY
public static final ItemName F_EFFECTIVE_OPERATION_POLICY
-
CONTAINER_NAME
public static final QName CONTAINER_NAME
-
-
Constructor Detail
-
ObjectType
public ObjectType()
-
ObjectType
@Deprecated public ObjectType(PrismContext context)
Deprecated.
-
-
Method Detail
-
prismGetContainerName
protected QName prismGetContainerName()
- Specified by:
prismGetContainerNamein classAbstractMutableObjectable
-
prismGetContainerType
protected QName prismGetContainerType()
- Specified by:
prismGetContainerTypein classAbstractMutableObjectable
-
asPrismObject
public PrismObject<? extends ObjectType> asPrismObject()
- Specified by:
asPrismObjectin interfaceObjectable- Overrides:
asPrismObjectin classAbstractMutableObjectable
-
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()
-
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()
-
getPolicyException
public List<PolicyExceptionType> getPolicyException()
-
createPolicyExceptionList
public List<PolicyExceptionType> createPolicyExceptionList()
-
getDiagnosticInformation
public List<DiagnosticInformationType> getDiagnosticInformation()
-
isIndestructible
public Boolean isIndestructible()
-
setIndestructible
public void setIndestructible(Boolean value)
-
getEffectiveMarkRef
public List<ObjectReferenceType> getEffectiveMarkRef()
-
getPolicyStatement
public List<PolicyStatementType> getPolicyStatement()
-
createPolicyStatementList
public List<PolicyStatementType> createPolicyStatementList()
-
getEffectiveOperationPolicy
public ObjectOperationPolicyType getEffectiveOperationPolicy()
-
setEffectiveOperationPolicy
public void setEffectiveOperationPolicy(ObjectOperationPolicyType value)
-
equals
public boolean equals(Object other)
- Overrides:
equalsin classAbstractMutableObjectable
-
version
public ObjectType version(String value)
-
oid
public ObjectType oid(String value)
-
name
public ObjectType name(PolyStringType value)
-
name
public ObjectType name(String value)
-
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)
-
effectiveMarkRef
public ObjectType effectiveMarkRef(ObjectReferenceType value)
-
effectiveMarkRef
public ObjectType effectiveMarkRef(String oid, QName type)
-
effectiveMarkRef
public ObjectType effectiveMarkRef(String oid, QName type, QName relation)
-
beginEffectiveMarkRef
public ObjectReferenceType beginEffectiveMarkRef()
-
policyStatement
public ObjectType policyStatement(PolicyStatementType value)
-
beginPolicyStatement
public PolicyStatementType beginPolicyStatement()
-
effectiveOperationPolicy
public ObjectType effectiveOperationPolicy(ObjectOperationPolicyType value)
-
beginEffectiveOperationPolicy
public ObjectOperationPolicyType beginEffectiveOperationPolicy()
-
end
public <X> X end()
-
clone
public ObjectType clone()
- Overrides:
clonein classAbstractMutableObjectable
-
-