public class BackupValueHolder extends ValueHolder
Modifier and Type | Field and Description |
---|---|
protected ValueHolderInterface |
unitOfWorkValueHolder
Stores the original uow clone's value holder.
|
value
shouldToStringInstantiate
Constructor and Description |
---|
BackupValueHolder(ValueHolderInterface unitOfWorkValueHolder) |
Modifier and Type | Method and Description |
---|---|
ValueHolderInterface |
getUnitOfWorkValueHolder()
Return the original uow clone's value holder.
|
Object |
getValue()
If the original value holder was not instantiated,
then first instantiate it to obtain the backup value.
|
clone, isCoordinatedWithProperty, isInstantiated, isNewlyWeavedValueHolder, setIsCoordinatedWithProperty, setIsNewlyWeavedValueHolder, setValue, toString
protected ValueHolderInterface unitOfWorkValueHolder
public BackupValueHolder(ValueHolderInterface unitOfWorkValueHolder)
public Object getValue()
getValue
in interface ValueHolderInterface
getValue
in class ValueHolder
public ValueHolderInterface getUnitOfWorkValueHolder()
Copyright © 2021. All rights reserved.