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
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,JaxbVisitable
,Objectable
,DebugDumpable
,Serializable
- Direct Known Subclasses:
AssignmentHolderType
,ShadowType
public abstract class ObjectType extends com.evolveum.midpoint.prism.impl.binding.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
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static QName
CONTAINER_NAME
static ItemName
F_DESCRIPTION
static ItemName
F_DIAGNOSTIC_INFORMATION
static ItemName
F_DOCUMENTATION
static ItemName
F_EXTENSION
static ItemName
F_FETCH_RESULT
static ItemName
F_INDESTRUCTIBLE
static ItemName
F_LENS_CONTEXT
static ItemName
F_LIFECYCLE_STATE
static ItemName
F_METADATA
static ItemName
F_NAME
static ItemName
F_OPERATION_EXECUTION
static ItemName
F_PARENT_ORG_REF
static ItemName
F_POLICY_EXCEPTION
static ItemName
F_POLICY_SITUATION
static ItemName
F_SUBTYPE
static ItemName
F_TENANT_REF
static ItemName
F_TRIGGER
static ItemName
F_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
-
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:
prismGetContainerName
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableObjectable
-
prismGetContainerType
protected QName prismGetContainerType()
- Specified by:
prismGetContainerType
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableObjectable
-
asPrismObject
public PrismObject<? extends ObjectType> asPrismObject()
- Specified by:
asPrismObject
in interfaceObjectable
- Overrides:
asPrismObject
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableObjectable
-
getName
public PolyStringType getName()
- Specified by:
getName
in interfaceObjectable
-
setName
public void setName(PolyStringType value)
- Specified by:
setName
in interfaceObjectable
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceObjectable
-
setDescription
public void setDescription(String value)
- Specified by:
setDescription
in 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)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableObjectable
-
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)
-
end
public <X> X end()
-
clone
public ObjectType clone()
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableObjectable
-
-