01: package net.sf.jmoney.model2;
02:
03: import java.util.Collection;
04:
05: public interface IValues {
06: <V> V getScalarValue(ScalarPropertyAccessor<V> propertyAccessor);
07:
08: IObjectKey getReferencedObjectKey(
09: ReferencePropertyAccessor<? extends ExtendableObject> propertyAccessor);
10:
11: <E extends ExtendableObject> IListManager<E> getListManager(
12: IObjectKey listOwnerKey,
13: ListPropertyAccessor<E> listAccessor);
14:
15: /**
16: * This method can be used to get the set of extensions that contain
17: * non-default values. By using this method, one can avoid creating
18: * extensions that contain only default property values.
19: *
20: * @return
21: */
22: Collection<ExtensionPropertySet<?>> getNonDefaultExtensions();
23: }
|