Package com.evolveum.midpoint.model.api
Class AssignmentObjectRelation
java.lang.Object
com.evolveum.midpoint.model.api.AssignmentObjectRelation
- All Implemented Interfaces:
- DebugDumpable,- ShortDumpable,- Serializable
public class AssignmentObjectRelation
extends Object
implements DebugDumpable, ShortDumpable, Serializable
Assignment object relation specification. Data structure that contains information about possible
 assignment targets or holders for a particular object and possible relation/archetype combinations.
 This data structure is used in two related, but slight distinct cases: looking for assignment targets
 and looking for assignment holders. In both cases this structure describes candidate objects on the
 "other side" of the assignment.
 For the "target" case, simply speaking, those are object types that can be targets of assignments for this object
 and the respective relations. This means "what assignments can I have"
 or "what are the valid targets for relations that I hold". It is the reverse of assignmentRelation definition in AssignmentType in schema.
 For the "holder" case it is a reverse of the above. In that case it specifies objects that ca be
 potential members.
 If objectType, archetype or relation is null then there is no constraint for that
 specific aspect. E.g. if the archetypeRefs is null then any archetype is allowed.
 If objectType, archetype or relation is empty list then no value for that particular
 aspect is allowed. Which means that this specification does not really allow anything.
 This should not really happen when used in ArchetypeInteractionSpecification as such
 specification would be meaningless.
 If more that one targetType, archetype or relation is specified then all possible
 combinations of those values are allowed (carthesian product).
- Author:
- Radovan Semancik
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddArchetypeRef(PrismObject<ArchetypeType> archetype) voidaddArchetypeRef(ObjectReferenceType archetypeRef) voidaddArchetypeRefs(Collection<ObjectReferenceType> archetypeRefs) voidaddObjectTypes(List<QName> newTargetTypes) voidaddRelations(List<QName> newRelations) debugDump(int indent) Just for diagnostic purposes (testability).voidsetArchetypeRefs(List<ObjectReferenceType> archetypeRefs) voidsetDescription(String description) voidsetObjectTypes(List<QName> targetTypes) voidsetRelations(List<QName> relations) voidShow the content of the object intended for diagnostics.toString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.util.ShortDumpableshortDump, shortDumpLazily
- 
Field Details- 
objectTypes
- 
archetypeRefs
- 
relations
- 
description
 
- 
- 
Constructor Details- 
AssignmentObjectRelationpublic AssignmentObjectRelation()
 
- 
- 
Method Details- 
getObjectTypes
- 
setObjectTypes
- 
addObjectTypes
- 
getArchetypeRefs
- 
setArchetypeRefs
- 
addArchetypeRef
- 
addArchetypeRef
- 
addArchetypeRefs
- 
getRelations
- 
setRelations
- 
addRelations
- 
getDescriptionJust for diagnostic purposes (testability).
- 
setDescription
- 
shortDumpDescription copied from interface:ShortDumpableShow the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
- shortDumpin interface- ShortDumpable
- Parameters:
- sb- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
 
- 
debugDump- Specified by:
- debugDumpin interface- DebugDumpable
 
- 
toString
 
-