public class ExtendContext extends Object
DomainService clone les sols des domaines, et une fois
dans PlotService, il faut reutiliser les Sol déjà clonés et non les cloner à
nouveau.
Cet objet concerve des maps de clone entre service.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
duplicateOnly
Use extends context with extends code but do only duplication.
|
protected Map<Ground,Ground> |
groundCache
Les sols lié au domaine
|
protected Map<GrowingSystem,GrowingSystem> |
growingSystemCache
Les systemes de cultures lié au dispositifs.
|
| Constructor and Description |
|---|
ExtendContext() |
ExtendContext(boolean duplicateOnly) |
| Modifier and Type | Method and Description |
|---|---|
Map<Ground,Ground> |
getGroundCache() |
Map<GrowingSystem,GrowingSystem> |
getGrowingSystemCache() |
boolean |
isDuplicateOnly() |
void |
setGroundCache(Map<Ground,Ground> groundCache) |
void |
setGrowingSystemCache(Map<GrowingSystem,GrowingSystem> growingSystemCache) |
protected boolean duplicateOnly
protected Map<GrowingSystem,GrowingSystem> growingSystemCache
public ExtendContext()
public ExtendContext(boolean duplicateOnly)
public boolean isDuplicateOnly()
public Map<GrowingSystem,GrowingSystem> getGrowingSystemCache()
public void setGrowingSystemCache(Map<GrowingSystem,GrowingSystem> growingSystemCache)
Copyright © 2013–2015 Inra. All rights reserved.