Class AbstractConstruction<AH extends AssignmentHolderType,ACT extends AbstractConstructionType,EC extends EvaluatedAbstractConstruction<AH>>  
java.lang.Object
com.evolveum.midpoint.model.impl.lens.construction.AbstractConstruction<AH,ACT,EC>  
- Type Parameters:
- AH- focus type to which this construction applies
- ACT- type of the construction bean (e.g. ConstructionType, PersonaConstructionType)
- EC- "EvaluatedXXX" class paired with the construction (e.g.- EvaluatedPlainResourceObjectConstructionImpl,- EvaluatedPersonaConstructionImpl)
- All Implemented Interfaces:
- DebugDumpable,- Serializable
- Direct Known Subclasses:
- PersonaConstruction,- ResourceObjectConstruction
public abstract class AbstractConstruction<AH extends AssignmentHolderType,ACT extends AbstractConstructionType,EC extends EvaluatedAbstractConstruction<AH>>  
extends Object
implements DebugDumpable, Serializable
A superclass for both resource object constructions (
ResourceObjectConstruction)
 and persona object constructions (PersonaConstruction).
 Contains the construction definition (bean) and the relevant context: assignment path, source object, lens context,
 validity information. Basically, everything that is needed to evaluate this construction.
 Note: it is still not quite clear how much is persona construction evaluation similar to the evaluation of a resource
 object construction. Persona constructions are currently evaluated using object template evaluation mechanism, while
 resource object constructions evaluation is based on attribute/association mappings evaluation directly in
 EvaluatedResourceObjectConstructionImpl and its subclass(es).- Author:
- Radovan Semancik
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final @Nullable AssignmentPathImplIf this construction is assigned, this is the path to it.protected final @NotNull LensContext<AH>Lens context in which this construction is collected and evaluated.protected final @NotNull XMLGregorianCalendarCurrent time.protected final @NotNull OriginTypeOrigin of this construction.protected final @NotNull ObjectTypeObject in which the construction is defined: either assignment segment source object (assignment holder) or a resource object.Fields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescriptionboolean@Nullable AssignmentPathImplabstract DeltaSetTriple<EC>@NotNull LensContext<AH>@NotNull OriginType@NotNull ObjectTypebooleaninthashCode()abstract booleanTypical reason for being ignored is that the resourceRef cannot be resolved.booleanisValid()booleanisWeak()voidsetFocusOdoAbsolute(ObjectDeltaObject<AH> focusOdoAbsolute) voidsetWasValid(boolean wasValid) Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDump, debugDumpLazily, debugDumpLazily
- 
Field Details- 
assignmentPathIf this construction is assigned, this is the path to it. (For "artificial" constructions created during outbound mappings evaluations it is null.)
- 
sourceObject in which the construction is defined: either assignment segment source object (assignment holder) or a resource object. TODO consider if not superseded by the origin inconstructionConfigItem, at least for assigned constructions
- 
originTypeOrigin of this construction.
- 
lensContextLens context in which this construction is collected and evaluated.
- 
nowCurrent time. Should be copied from the projector's current time, but it is currently not always the case.
 
- 
- 
Method Details- 
getSource
- 
getOriginType
- 
getLensContext
- 
getConstructionBean
- 
getFocusOdoAbsolute
- 
setFocusOdoAbsolute
- 
isWeakpublic boolean isWeak()
- 
isValidpublic boolean isValid()
- 
getWasValidpublic boolean getWasValid()
- 
setWasValidpublic void setWasValid(boolean wasValid) 
- 
getAssignmentPath
- 
getEvaluatedConstructionTriple
- 
isIgnoredpublic abstract boolean isIgnored()Typical reason for being ignored is that the resourceRef cannot be resolved.
- 
equals
- 
hashCodepublic int hashCode()
 
-