Class ShadowAssociationTypeDefinitionType
java.lang.Object
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationTypeDefinitionType
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class ShadowAssociationTypeDefinitionType
extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
Definition of a high-level (logical) association type. Such an association binds together a subject
and 0, 1, or more objects. Some examples:
Simple group membership: This is an association between objects (users, printers, computers, groups,
org units, and so on) and groups. Each object can belong to 0-N groups, and each group can have 0-N
members. There are no additional attributes related to the membership itself.
Complex group membership: Likewise, this is an association between objects and groups, but each
association value can have some attributes, like the time validity.
Access rights: This is an association between principals (e.g., users) and objects (e.g., documents),
where each association value has an attribute describing the access level (reader, writer, admin, ...).
Employment contracts: An association connecting physical persons and organizational units; optionally
it can also embrace other entities, like cost centers, job positions, and so on, if they are represented
as separate objects on the resource. In its most extreme form, a contract can have no objects, just
a subject (person).
An association type can be defined over either native or simulated (physical) shadow reference.
Legacy simulated associations are not supported by association types.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
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
Modifier and TypeFieldDescriptionstatic final QName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final Producer<ShadowAssociationTypeDefinitionType>
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
ConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionclone()
description
(String value) displayName
(String value) documentation
(String value) <X> X
end()
boolean
getName()
lifecycleState
(String value) void
void
setDescription
(String value) void
setDisplayName
(String value) void
setDocumentation
(String value) void
setLifecycleState
(String value) void
void
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, cloneWithoutIdAndMetadata, debugDump, freeze, isImmutable
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
-
Field Details
-
COMPLEX_TYPE
-
F_NAME
-
F_DISPLAY_NAME
-
F_DESCRIPTION
-
F_DOCUMENTATION
-
F_LIFECYCLE_STATE
-
F_SUBJECT
-
F_OBJECT
-
F_ASSOCIATION_OBJECT
-
FACTORY
-
-
Constructor Details
-
ShadowAssociationTypeDefinitionType
public ShadowAssociationTypeDefinitionType() -
ShadowAssociationTypeDefinitionType
Deprecated.
-
-
Method Details
-
getName
-
setName
-
getDisplayName
-
setDisplayName
-
getDescription
-
setDescription
-
getDocumentation
-
setDocumentation
-
getLifecycleState
-
setLifecycleState
-
getSubject
-
setSubject
-
getObject
-
createObjectList
-
getAssociationObject
-
setAssociationObject
-
equals
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
-
name
-
displayName
-
description
-
documentation
-
lifecycleState
-
subject
public ShadowAssociationTypeDefinitionType subject(ShadowAssociationTypeSubjectDefinitionType value) -
beginSubject
-
object
-
beginObject
-
associationObject
public ShadowAssociationTypeDefinitionType associationObject(AssociatedResourceObjectTypeDefinitionType value) -
beginAssociationObject
-
end
public <X> X end() -
clone
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-