public class LookupTableType extends ObjectType implements Serializable, Cloneable
<?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: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"> An object that represents lookup table. The lookup table can be used for two purposes: value enumerations (e.g. for GUI or validation) and value mapping (translation). The same lookup table can serve both purposes at the same time. </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: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"> The content of the lookup table can be used as enumeration. E.g. the labels for each table row can be displayed in the user interface. When a particular label is selected then the associated key will be stored. Similar approach can be used for validation, e.g. when only a selected set of values is legal for a certain property. In this case the "key" and "label" columns are used. </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: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"> The content of the lookup table can also be used for value mapping. E.g. in cases when input value needs to be mapped to the output value. In this case the "key" and "value" columns are used. </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: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"> Even though the lookup table is represented as a prism object, it is designed to be stored and queried efficiently. Therefore the contents of the lookup table will be stored in a specialized table tuned for this purpose. This data type is not designed to be used with the usual midPoint query mechanism (e.g. searchObjects operation). Specialized operations are used to efficiently query the lookup tables. The prism representation (e.g. XML) of the lookup tables is used only for backup, restore, migrations, upgrades and similar purposes. </p>
Java class for LookupTableType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LookupTableType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectType"> <sequence> <element name="row" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}LookupTableRowType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
static QName |
F_ROW |
F_DESCRIPTION, F_EXTENSION, F_FETCH_RESULT, F_LIFECYCLE_STATE, F_METADATA, F_NAME, F_OPERATION_EXECUTION, F_PARENT_ORG, F_PARENT_ORG_REF, F_POLICY_EXCEPTION, F_POLICY_SITUATION, F_SUBTYPE, F_TENANT_REF, F_TRIGGER, F_TRIGGERED_POLICY_RULE
Constructor and Description |
---|
LookupTableType() |
LookupTableType(PrismContext prismContext) |
asPrismContainer, asPrismContainerValue, createOperationExecutionList, createParentOrgList, createParentOrgRefList, createPolicyExceptionList, createPolicySituationList, createSubtypeList, createTriggeredPolicyRuleList, createTriggerList, equals, getDescription, getExtension, getFetchResult, getLifecycleState, getMetadata, getName, getOid, getOperationExecution, getParentOrg, getParentOrgRef, getPolicyException, getPolicySituation, getSubtype, getTenantRef, getTrigger, getTriggeredPolicyRule, getVersion, hashCode, setDescription, setExtension, setFetchResult, setLifecycleState, setMetadata, setName, setOid, setTenantRef, setupContainer, setupContainerValue, setVersion, toDebugName, toDebugType, toString
public static final QName COMPLEX_TYPE
public static final QName F_ROW
public LookupTableType()
public LookupTableType(PrismContext prismContext)
public PrismObject<LookupTableType> asPrismObject()
asPrismObject
in interface Objectable
asPrismObject
in class ObjectType
public <X> X end()
end
in class ObjectType
public List<LookupTableRowType> getRow()
public List<LookupTableRowType> createRowList()
public LookupTableType row(LookupTableRowType value)
public LookupTableRowType beginRow()
public LookupTableType name(PolyStringType value)
name
in class ObjectType
public LookupTableType name(String value)
name
in class ObjectType
public PolyStringType beginName()
beginName
in class ObjectType
public LookupTableType description(String value)
description
in class ObjectType
public LookupTableType subtype(String value)
subtype
in class ObjectType
public LookupTableType fetchResult(OperationResultType value)
fetchResult
in class ObjectType
public OperationResultType beginFetchResult()
beginFetchResult
in class ObjectType
public LookupTableType extension(ExtensionType value)
extension
in class ObjectType
public ExtensionType beginExtension()
beginExtension
in class ObjectType
public LookupTableType parentOrg(OrgType value)
parentOrg
in class ObjectType
public OrgType beginParentOrg()
beginParentOrg
in class ObjectType
public LookupTableType parentOrgRef(ObjectReferenceType value)
parentOrgRef
in class ObjectType
public LookupTableType parentOrgRef(String oid, QName type)
parentOrgRef
in class ObjectType
public LookupTableType parentOrgRef(String oid, QName type, QName relation)
parentOrgRef
in class ObjectType
public ObjectReferenceType beginParentOrgRef()
beginParentOrgRef
in class ObjectType
public LookupTableType trigger(TriggerType value)
trigger
in class ObjectType
public TriggerType beginTrigger()
beginTrigger
in class ObjectType
public LookupTableType metadata(MetadataType value)
metadata
in class ObjectType
public MetadataType beginMetadata()
beginMetadata
in class ObjectType
public LookupTableType tenantRef(ObjectReferenceType value)
tenantRef
in class ObjectType
public LookupTableType tenantRef(String oid, QName type)
tenantRef
in class ObjectType
public LookupTableType tenantRef(String oid, QName type, QName relation)
tenantRef
in class ObjectType
public ObjectReferenceType beginTenantRef()
beginTenantRef
in class ObjectType
public LookupTableType lifecycleState(String value)
lifecycleState
in class ObjectType
public LookupTableType operationExecution(OperationExecutionType value)
operationExecution
in class ObjectType
public OperationExecutionType beginOperationExecution()
beginOperationExecution
in class ObjectType
public LookupTableType policySituation(String value)
policySituation
in class ObjectType
public LookupTableType triggeredPolicyRule(EvaluatedPolicyRuleType value)
triggeredPolicyRule
in class ObjectType
public EvaluatedPolicyRuleType beginTriggeredPolicyRule()
beginTriggeredPolicyRule
in class ObjectType
public LookupTableType policyException(PolicyExceptionType value)
policyException
in class ObjectType
public PolicyExceptionType beginPolicyException()
beginPolicyException
in class ObjectType
public LookupTableType oid(String value)
oid
in class ObjectType
public LookupTableType version(String value)
version
in class ObjectType
public LookupTableType clone()
clone
in class ObjectType
Copyright © 2019 Evolveum. All rights reserved.