Class AssignmentOrigin
- java.lang.Object
-
- com.evolveum.midpoint.prism.AbstractFreezable
-
- com.evolveum.midpoint.model.impl.lens.projector.AssignmentOrigin
-
- All Implemented Interfaces:
Freezable
,Serializable
public class AssignmentOrigin extends AbstractFreezable implements Serializable
Describes assignment origin e.g. if it's in object old, current, or in delta; if it's virtual or not.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssignmentOrigin
createInObject()
static AssignmentOrigin
createNotVirtual()
static AssignmentOrigin
createVirtual()
PlusMinusZero
getAbsoluteMode()
Returns absolute mode of this assignment with regard to focus old state.boolean
isBeingAdded()
Assignment is either being added in the current wave or was added in some of the previous waves.boolean
isBeingDeleted()
Assignment is either being deleted in the current wave or was deleted in some of the previous waves.boolean
isBeingKept()
Assignment was present at the beginning and is not being deleted.boolean
isCurrent()
boolean
isInDeltaAdd()
boolean
isInDeltaDelete()
boolean
isNew()
boolean
isOld()
boolean
isVirtual()
void
performFreeze()
void
setNew(boolean value)
String
toString()
-
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
-
-
-
Method Detail
-
createInObject
public static AssignmentOrigin createInObject()
-
createNotVirtual
public static AssignmentOrigin createNotVirtual()
-
createVirtual
public static AssignmentOrigin createVirtual()
-
isVirtual
public boolean isVirtual()
-
isNew
public boolean isNew()
-
setNew
public void setNew(boolean value)
-
isCurrent
public boolean isCurrent()
-
isOld
public boolean isOld()
-
isInDeltaAdd
public boolean isInDeltaAdd()
-
isInDeltaDelete
public boolean isInDeltaDelete()
-
isBeingAdded
public boolean isBeingAdded()
Assignment is either being added in the current wave or was added in some of the previous waves.
-
isBeingDeleted
public boolean isBeingDeleted()
Assignment is either being deleted in the current wave or was deleted in some of the previous waves.
-
isBeingKept
public boolean isBeingKept()
Assignment was present at the beginning and is not being deleted.
-
getAbsoluteMode
public PlusMinusZero getAbsoluteMode()
Returns absolute mode of this assignment with regard to focus old state.
-
performFreeze
public void performFreeze()
- Overrides:
performFreeze
in classAbstractFreezable
-
-