Interface MultiplePropertyImplementation<I,T>
-
- Type Parameters:
I
- type of entity defining such propertyT
- accessed type for the property
- All Superinterfaces:
PropertyImplementation<I,java.util.List<T>>
- All Known Subinterfaces:
ReindexableListPropertyImplementation<I,T>
- All Known Implementing Classes:
DefaultMultiplePropertyImplementation
public interface MultiplePropertyImplementation<I,T> extends PropertyImplementation<I,java.util.List<T>>
Represents aPropertyImplementation
which is settable and of MULTIPLE cardinality
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTo(T aValue)
void
addTo(T aValue, int index)
java.util.List<T>
get()
void
removeFrom(T aValue)
-
Methods inherited from interface org.openflexo.pamela.model.property.PropertyImplementation
delete, getObject, getProperty, undelete
-
-
-
-
Method Detail
-
get
java.util.List<T> get() throws ModelDefinitionException
- Specified by:
get
in interfacePropertyImplementation<I,T>
- Throws:
ModelDefinitionException
-
addTo
void addTo(T aValue) throws ModelDefinitionException
- Throws:
ModelDefinitionException
-
addTo
void addTo(T aValue, int index) throws ModelDefinitionException
- Throws:
ModelDefinitionException
-
removeFrom
void removeFrom(T aValue) throws ModelDefinitionException
- Throws:
ModelDefinitionException
-
-