Class StoreListVAccessor<E extends io.vertigo.datamodel.data.model.Entity>
java.lang.Object
io.vertigo.datamodel.data.model.ListVAccessor<E>
io.vertigo.datastore.impl.entitystore.StoreListVAccessor<E>
- Type Parameters:
E- the type of entity
- All Implemented Interfaces:
Serializable
public class StoreListVAccessor<E extends io.vertigo.datamodel.data.model.Entity>
extends io.vertigo.datamodel.data.model.ListVAccessor<E>
This class is a way to access a list of foreign entities defined by a relationship.
It's a kind of box (aka optional) that offers a small list of methods.
- Author:
- pchretien, mlaroche, npiedeloup *
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStoreListVAccessor(io.vertigo.datamodel.data.model.Entity entity, String associationDefinitionName, String roleName) -
Method Summary
Methods inherited from class io.vertigo.datamodel.data.model.ListVAccessor
get, getDtListURI, getRole, getSourceUID, getTargetDefinitionReference, isLoaded, reset
-
Constructor Details
-
StoreListVAccessor
-
-
Method Details
-
load
public final void load()Loads the value if needed. -
set
- Overrides:
setin classio.vertigo.datamodel.data.model.ListVAccessor<E extends io.vertigo.datamodel.data.model.Entity>
-
loadIfAbsent
public void loadIfAbsent()Loads the value if needed. -
lazyGet
Deprecated.This usage is discouraged : prefer explicit loading by using load() then get()Loads the value if needed.
-