Class ResourceType
- java.lang.Object
-
- com.evolveum.prism.xml.ns._public.types_3.ObjectType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType
-
- All Implemented Interfaces:
Containerable
,JaxbVisitable
,Objectable
,DebugDumpable
,Serializable
,Cloneable
public class ResourceType extends AssignmentHolderType implements Serializable, Cloneable
Resource represents a system or component external to the IDM system which we manage. It is sometimes called _IT resource_, _target system_, _source system_, _provisioning target_, etc. IDM system connects to it to create accounts, assign accounts to groups, etc. But it also may be an authoritative source of data, system that maintains lookup tables, database that contains organizational structure, etc. The {{Resource}} provides a combination of several functions (e.g. both provisioning and authoritative data for some attributes).Java class for ResourceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResourceType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AssignmentHolderType"> <sequence> <element name="administrativeOperationalState" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AdministrativeOperationalStateType" minOccurs="0"/> <element name="operationalState" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OperationalStateType" minOccurs="0"/> <element name="operationalStateHistory" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OperationalStateType" maxOccurs="unbounded" minOccurs="0"/> <element name="connectorRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectReferenceType" minOccurs="0"/> <element name="connectorConfiguration" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ConnectorConfigurationType"/> <element name="additionalConnector" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ConnectorInstanceSpecificationType" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}schema" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}schemaHandling" minOccurs="0"/> <element name="capabilities" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CapabilitiesType" minOccurs="0"/> <element name="scripts" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}OperationProvisioningScriptsType" minOccurs="0"/> <element name="projection" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ProjectionPolicyType" minOccurs="0"/> <element name="consistency" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ResourceConsistencyType" minOccurs="0"/> <element name="caching" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CachingPolicyType" minOccurs="0"/> <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}synchronization" minOccurs="0"/> <element name="business" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ResourceBusinessConfigurationType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_ADDITIONAL_CONNECTOR
static ItemName
F_ADMINISTRATIVE_OPERATIONAL_STATE
static ItemName
F_BUSINESS
static ItemName
F_CACHING
static ItemName
F_CAPABILITIES
static ItemName
F_CONNECTOR_CONFIGURATION
static ItemName
F_CONNECTOR_REF
static ItemName
F_CONSISTENCY
static ItemName
F_OPERATIONAL_STATE
static ItemName
F_OPERATIONAL_STATE_HISTORY
static ItemName
F_PROJECTION
static ItemName
F_SCHEMA
static ItemName
F_SCHEMA_HANDLING
static ItemName
F_SCRIPTS
static ItemName
F_SYNCHRONIZATION
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
F_ARCHETYPE_REF, F_ASSIGNMENT, F_DELEGATED_REF, F_ITERATION, F_ITERATION_TOKEN, F_ROLE_INFLUENCE_REF, F_ROLE_MEMBERSHIP_REF
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
F_DESCRIPTION, F_DIAGNOSTIC_INFORMATION, F_DOCUMENTATION, F_EXTENSION, F_FETCH_RESULT, F_INDESTRUCTIBLE, F_LENS_CONTEXT, F_LIFECYCLE_STATE, F_METADATA, F_NAME, F_OPERATION_EXECUTION, F_PARENT_ORG_REF, F_POLICY_EXCEPTION, F_POLICY_SITUATION, F_SUBTYPE, F_TENANT_REF, F_TRIGGER, F_TRIGGERED_POLICY_RULE
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ResourceType()
ResourceType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
asPrismContainer, asPrismContainerValue, createArchetypeRefList, createAssignmentList, createDelegatedRefList, createRoleInfluenceRefList, createRoleMembershipRefList, equals, getArchetypeRef, getAssignment, getDelegatedRef, getIteration, getIterationToken, getRoleInfluenceRef, getRoleMembershipRef, hashCode, setIteration, setIterationToken, setupContainer, setupContainerValue, toDebugName, toDebugType, toString
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
createDiagnosticInformationList, createOperationExecutionList, createParentOrgRefList, createPolicyExceptionList, createPolicySituationList, createSubtypeList, createTriggeredPolicyRuleList, createTriggerList, getDescription, getDiagnosticInformation, getDocumentation, getExtension, getFetchResult, getLensContext, getLifecycleState, getMetadata, getName, getOid, getOperationExecution, getParentOrgRef, getPolicyException, getPolicySituation, getSubtype, getTenantRef, getTrigger, getTriggeredPolicyRule, getVersion, isIndestructible, setDescription, setDocumentation, setExtension, setFetchResult, setIndestructible, setLensContext, setLifecycleState, setMetadata, setName, setOid, setTenantRef, setVersion
-
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
-
Methods inherited from interface com.evolveum.midpoint.prism.Objectable
getDescription, getName, getOid, getVersion, setDescription, setName, setOid, setVersion
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_ADMINISTRATIVE_OPERATIONAL_STATE
public static final ItemName F_ADMINISTRATIVE_OPERATIONAL_STATE
-
F_OPERATIONAL_STATE
public static final ItemName F_OPERATIONAL_STATE
-
F_OPERATIONAL_STATE_HISTORY
public static final ItemName F_OPERATIONAL_STATE_HISTORY
-
F_CONNECTOR_REF
public static final ItemName F_CONNECTOR_REF
-
F_CONNECTOR_CONFIGURATION
public static final ItemName F_CONNECTOR_CONFIGURATION
-
F_ADDITIONAL_CONNECTOR
public static final ItemName F_ADDITIONAL_CONNECTOR
-
F_SCHEMA
public static final ItemName F_SCHEMA
-
F_SCHEMA_HANDLING
public static final ItemName F_SCHEMA_HANDLING
-
F_CAPABILITIES
public static final ItemName F_CAPABILITIES
-
F_SCRIPTS
public static final ItemName F_SCRIPTS
-
F_PROJECTION
public static final ItemName F_PROJECTION
-
F_CONSISTENCY
public static final ItemName F_CONSISTENCY
-
F_CACHING
public static final ItemName F_CACHING
-
F_SYNCHRONIZATION
public static final ItemName F_SYNCHRONIZATION
-
F_BUSINESS
public static final ItemName F_BUSINESS
-
-
Constructor Detail
-
ResourceType
public ResourceType()
-
ResourceType
public ResourceType(PrismContext prismContext)
-
-
Method Detail
-
asPrismObject
public PrismObject<ResourceType> asPrismObject()
- Specified by:
asPrismObject
in interfaceObjectable
- Overrides:
asPrismObject
in classAssignmentHolderType
-
end
public <X> X end()
- Overrides:
end
in classAssignmentHolderType
-
getAdministrativeOperationalState
public AdministrativeOperationalStateType getAdministrativeOperationalState()
-
setAdministrativeOperationalState
public void setAdministrativeOperationalState(AdministrativeOperationalStateType value)
-
getOperationalState
public OperationalStateType getOperationalState()
-
setOperationalState
public void setOperationalState(OperationalStateType value)
-
getOperationalStateHistory
public List<OperationalStateType> getOperationalStateHistory()
-
createOperationalStateHistoryList
public List<OperationalStateType> createOperationalStateHistoryList()
-
getConnectorRef
public ObjectReferenceType getConnectorRef()
-
setConnectorRef
public void setConnectorRef(ObjectReferenceType value)
-
getConnectorConfiguration
public ConnectorConfigurationType getConnectorConfiguration()
-
setConnectorConfiguration
public void setConnectorConfiguration(ConnectorConfigurationType value)
-
getAdditionalConnector
public List<ConnectorInstanceSpecificationType> getAdditionalConnector()
-
createAdditionalConnectorList
public List<ConnectorInstanceSpecificationType> createAdditionalConnectorList()
-
getSchema
public XmlSchemaType getSchema()
-
setSchema
public void setSchema(XmlSchemaType value)
-
getSchemaHandling
public SchemaHandlingType getSchemaHandling()
-
setSchemaHandling
public void setSchemaHandling(SchemaHandlingType value)
-
getCapabilities
public CapabilitiesType getCapabilities()
-
setCapabilities
public void setCapabilities(CapabilitiesType value)
-
getScripts
public OperationProvisioningScriptsType getScripts()
-
setScripts
public void setScripts(OperationProvisioningScriptsType value)
-
getProjection
public ProjectionPolicyType getProjection()
-
setProjection
public void setProjection(ProjectionPolicyType value)
-
getConsistency
public ResourceConsistencyType getConsistency()
-
setConsistency
public void setConsistency(ResourceConsistencyType value)
-
getCaching
public CachingPolicyType getCaching()
-
setCaching
public void setCaching(CachingPolicyType value)
-
getSynchronization
public SynchronizationType getSynchronization()
-
setSynchronization
public void setSynchronization(SynchronizationType value)
-
getBusiness
public ResourceBusinessConfigurationType getBusiness()
-
setBusiness
public void setBusiness(ResourceBusinessConfigurationType value)
-
administrativeOperationalState
public ResourceType administrativeOperationalState(AdministrativeOperationalStateType value)
-
beginAdministrativeOperationalState
public AdministrativeOperationalStateType beginAdministrativeOperationalState()
-
operationalState
public ResourceType operationalState(OperationalStateType value)
-
beginOperationalState
public OperationalStateType beginOperationalState()
-
operationalStateHistory
public ResourceType operationalStateHistory(OperationalStateType value)
-
beginOperationalStateHistory
public OperationalStateType beginOperationalStateHistory()
-
connectorRef
public ResourceType connectorRef(ObjectReferenceType value)
-
connectorRef
public ResourceType connectorRef(String oid, QName type)
-
connectorRef
public ResourceType connectorRef(String oid, QName type, QName relation)
-
beginConnectorRef
public ObjectReferenceType beginConnectorRef()
-
connectorConfiguration
public ResourceType connectorConfiguration(ConnectorConfigurationType value)
-
beginConnectorConfiguration
public ConnectorConfigurationType beginConnectorConfiguration()
-
additionalConnector
public ResourceType additionalConnector(ConnectorInstanceSpecificationType value)
-
beginAdditionalConnector
public ConnectorInstanceSpecificationType beginAdditionalConnector()
-
schema
public ResourceType schema(XmlSchemaType value)
-
beginSchema
public XmlSchemaType beginSchema()
-
schemaHandling
public ResourceType schemaHandling(SchemaHandlingType value)
-
beginSchemaHandling
public SchemaHandlingType beginSchemaHandling()
-
capabilities
public ResourceType capabilities(CapabilitiesType value)
-
beginCapabilities
public CapabilitiesType beginCapabilities()
-
scripts
public ResourceType scripts(OperationProvisioningScriptsType value)
-
beginScripts
public OperationProvisioningScriptsType beginScripts()
-
projection
public ResourceType projection(ProjectionPolicyType value)
-
beginProjection
public ProjectionPolicyType beginProjection()
-
consistency
public ResourceType consistency(ResourceConsistencyType value)
-
beginConsistency
public ResourceConsistencyType beginConsistency()
-
caching
public ResourceType caching(CachingPolicyType value)
-
beginCaching
public CachingPolicyType beginCaching()
-
synchronization
public ResourceType synchronization(SynchronizationType value)
-
beginSynchronization
public SynchronizationType beginSynchronization()
-
business
public ResourceType business(ResourceBusinessConfigurationType value)
-
beginBusiness
public ResourceBusinessConfigurationType beginBusiness()
-
assignment
public ResourceType assignment(AssignmentType value)
- Overrides:
assignment
in classAssignmentHolderType
-
beginAssignment
public AssignmentType beginAssignment()
- Overrides:
beginAssignment
in classAssignmentHolderType
-
iteration
public ResourceType iteration(Integer value)
- Overrides:
iteration
in classAssignmentHolderType
-
iterationToken
public ResourceType iterationToken(String value)
- Overrides:
iterationToken
in classAssignmentHolderType
-
archetypeRef
public ResourceType archetypeRef(ObjectReferenceType value)
- Overrides:
archetypeRef
in classAssignmentHolderType
-
archetypeRef
public ResourceType archetypeRef(String oid, QName type)
- Overrides:
archetypeRef
in classAssignmentHolderType
-
archetypeRef
public ResourceType archetypeRef(String oid, QName type, QName relation)
- Overrides:
archetypeRef
in classAssignmentHolderType
-
beginArchetypeRef
public ObjectReferenceType beginArchetypeRef()
- Overrides:
beginArchetypeRef
in classAssignmentHolderType
-
roleMembershipRef
public ResourceType roleMembershipRef(ObjectReferenceType value)
- Overrides:
roleMembershipRef
in classAssignmentHolderType
-
roleMembershipRef
public ResourceType roleMembershipRef(String oid, QName type)
- Overrides:
roleMembershipRef
in classAssignmentHolderType
-
roleMembershipRef
public ResourceType roleMembershipRef(String oid, QName type, QName relation)
- Overrides:
roleMembershipRef
in classAssignmentHolderType
-
beginRoleMembershipRef
public ObjectReferenceType beginRoleMembershipRef()
- Overrides:
beginRoleMembershipRef
in classAssignmentHolderType
-
delegatedRef
public ResourceType delegatedRef(ObjectReferenceType value)
- Overrides:
delegatedRef
in classAssignmentHolderType
-
delegatedRef
public ResourceType delegatedRef(String oid, QName type)
- Overrides:
delegatedRef
in classAssignmentHolderType
-
delegatedRef
public ResourceType delegatedRef(String oid, QName type, QName relation)
- Overrides:
delegatedRef
in classAssignmentHolderType
-
beginDelegatedRef
public ObjectReferenceType beginDelegatedRef()
- Overrides:
beginDelegatedRef
in classAssignmentHolderType
-
roleInfluenceRef
public ResourceType roleInfluenceRef(ObjectReferenceType value)
- Overrides:
roleInfluenceRef
in classAssignmentHolderType
-
roleInfluenceRef
public ResourceType roleInfluenceRef(String oid, QName type)
- Overrides:
roleInfluenceRef
in classAssignmentHolderType
-
roleInfluenceRef
public ResourceType roleInfluenceRef(String oid, QName type, QName relation)
- Overrides:
roleInfluenceRef
in classAssignmentHolderType
-
beginRoleInfluenceRef
public ObjectReferenceType beginRoleInfluenceRef()
- Overrides:
beginRoleInfluenceRef
in classAssignmentHolderType
-
name
public ResourceType name(PolyStringType value)
- Overrides:
name
in classAssignmentHolderType
-
name
public ResourceType name(String value)
- Overrides:
name
in classAssignmentHolderType
-
beginName
public PolyStringType beginName()
- Overrides:
beginName
in classAssignmentHolderType
-
description
public ResourceType description(String value)
- Overrides:
description
in classAssignmentHolderType
-
documentation
public ResourceType documentation(String value)
- Overrides:
documentation
in classAssignmentHolderType
-
subtype
public ResourceType subtype(String value)
- Overrides:
subtype
in classAssignmentHolderType
-
fetchResult
public ResourceType fetchResult(OperationResultType value)
- Overrides:
fetchResult
in classAssignmentHolderType
-
beginFetchResult
public OperationResultType beginFetchResult()
- Overrides:
beginFetchResult
in classAssignmentHolderType
-
extension
public ResourceType extension(ExtensionType value)
- Overrides:
extension
in classAssignmentHolderType
-
beginExtension
public ExtensionType beginExtension()
- Overrides:
beginExtension
in classAssignmentHolderType
-
parentOrgRef
public ResourceType parentOrgRef(ObjectReferenceType value)
- Overrides:
parentOrgRef
in classAssignmentHolderType
-
parentOrgRef
public ResourceType parentOrgRef(String oid, QName type)
- Overrides:
parentOrgRef
in classAssignmentHolderType
-
parentOrgRef
public ResourceType parentOrgRef(String oid, QName type, QName relation)
- Overrides:
parentOrgRef
in classAssignmentHolderType
-
beginParentOrgRef
public ObjectReferenceType beginParentOrgRef()
- Overrides:
beginParentOrgRef
in classAssignmentHolderType
-
trigger
public ResourceType trigger(TriggerType value)
- Overrides:
trigger
in classAssignmentHolderType
-
beginTrigger
public TriggerType beginTrigger()
- Overrides:
beginTrigger
in classAssignmentHolderType
-
metadata
public ResourceType metadata(MetadataType value)
- Overrides:
metadata
in classAssignmentHolderType
-
beginMetadata
public MetadataType beginMetadata()
- Overrides:
beginMetadata
in classAssignmentHolderType
-
tenantRef
public ResourceType tenantRef(ObjectReferenceType value)
- Overrides:
tenantRef
in classAssignmentHolderType
-
tenantRef
public ResourceType tenantRef(String oid, QName type)
- Overrides:
tenantRef
in classAssignmentHolderType
-
tenantRef
public ResourceType tenantRef(String oid, QName type, QName relation)
- Overrides:
tenantRef
in classAssignmentHolderType
-
beginTenantRef
public ObjectReferenceType beginTenantRef()
- Overrides:
beginTenantRef
in classAssignmentHolderType
-
lifecycleState
public ResourceType lifecycleState(String value)
- Overrides:
lifecycleState
in classAssignmentHolderType
-
operationExecution
public ResourceType operationExecution(OperationExecutionType value)
- Overrides:
operationExecution
in classAssignmentHolderType
-
beginOperationExecution
public OperationExecutionType beginOperationExecution()
- Overrides:
beginOperationExecution
in classAssignmentHolderType
-
lensContext
public ResourceType lensContext(LensContextType value)
- Overrides:
lensContext
in classAssignmentHolderType
-
beginLensContext
public LensContextType beginLensContext()
- Overrides:
beginLensContext
in classAssignmentHolderType
-
policySituation
public ResourceType policySituation(String value)
- Overrides:
policySituation
in classAssignmentHolderType
-
triggeredPolicyRule
public ResourceType triggeredPolicyRule(EvaluatedPolicyRuleType value)
- Overrides:
triggeredPolicyRule
in classAssignmentHolderType
-
beginTriggeredPolicyRule
public EvaluatedPolicyRuleType beginTriggeredPolicyRule()
- Overrides:
beginTriggeredPolicyRule
in classAssignmentHolderType
-
policyException
public ResourceType policyException(PolicyExceptionType value)
- Overrides:
policyException
in classAssignmentHolderType
-
beginPolicyException
public PolicyExceptionType beginPolicyException()
- Overrides:
beginPolicyException
in classAssignmentHolderType
-
diagnosticInformation
public ResourceType diagnosticInformation(DiagnosticInformationType value)
- Overrides:
diagnosticInformation
in classAssignmentHolderType
-
beginDiagnosticInformation
public DiagnosticInformationType beginDiagnosticInformation()
- Overrides:
beginDiagnosticInformation
in classAssignmentHolderType
-
indestructible
public ResourceType indestructible(Boolean value)
- Overrides:
indestructible
in classAssignmentHolderType
-
oid
public ResourceType oid(String value)
- Overrides:
oid
in classAssignmentHolderType
-
version
public ResourceType version(String value)
- Overrides:
version
in classAssignmentHolderType
-
clone
public ResourceType clone()
- Overrides:
clone
in classAssignmentHolderType
-
-