Class VelocityContainerItem
java.lang.Object
net.ssehub.easy.instantiation.velocity.VelocityContextItem
net.ssehub.easy.instantiation.velocity.VelocityContainerItem
VelocityContextItem for container, i.e., sets and sequences. This facilitates iteration through the
nested elements as well to return its size.- Author:
- El-Sharkawy
-
Constructor Summary
ConstructorsConstructorDescriptionVelocityContainerItem(String variableName, List<Object> values) Single constructor for this class. -
Method Summary
Methods inherited from class net.ssehub.easy.instantiation.velocity.VelocityContextItem
getName, getValue, toString
-
Constructor Details
-
VelocityContainerItem
Single constructor for this class.- Parameters:
variableName- The name of the container.values- the nested values, must not be null.
-
-
Method Details
-
size
public int size()Returns the number of nested values.- Returns:
- A value greater or equal to 0.
-