public class SurrogateState extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SurrogateState.ReferredSurrogate<T extends AbstractSurrogate> |
static class |
SurrogateState.Surrogate_Key |
| Constructor and Description |
|---|
SurrogateState() |
| Modifier and Type | Method and Description |
|---|---|
<T extends AbstractSurrogate> |
addOriginal2Surrogate(Object original,
T surrogate) |
void |
addReference(DomainState.IRelation ref) |
SurrogateState |
createCopy(Map<DomainState.IRelation,DomainState.IRelation> copiedRels,
DomainState ds) |
<T extends AbstractSurrogate> |
getCreateSurrogateFor(Object original,
Class<T> surrogateClass) |
void |
removeReference(DomainState.IRelation ref) |
void |
removeUnreferenced() |
int |
size() |
public SurrogateState createCopy(Map<DomainState.IRelation,DomainState.IRelation> copiedRels, DomainState ds)
public <T extends AbstractSurrogate> void addOriginal2Surrogate(Object original, T surrogate)
public <T extends AbstractSurrogate> T getCreateSurrogateFor(Object original, Class<T> surrogateClass)
public void addReference(DomainState.IRelation ref)
public void removeReference(DomainState.IRelation ref)
public void removeUnreferenced()
public int size()
Copyright © 2016. All rights reserved.