Interface IOhlcv
-
- All Superinterfaces:
AttributeModelAware,java.lang.Iterable<IOhlcvItem>
public interface IOhlcv extends java.lang.Iterable<IOhlcvItem>, AttributeModelAware
Domain Object implements this API for providing of OHLCV information data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeModelgetAddon()AttributeModelgetAddonOrCreate()IOhlcvItemgetOhlcvItem(int index)intsize()
-
-
-
Method Detail
-
getOhlcvItem
IOhlcvItem getOhlcvItem(int index)
- Parameters:
index- index of the ohlcv item- Returns:
- provides ohlcv item
-
size
int size()
- Returns:
- count of actual available items
-
getAddon
AttributeModel getAddon()
- Specified by:
getAddonin interfaceAttributeModelAware- Returns:
- OHLCV addon. If not available, null is return.
-
getAddonOrCreate
AttributeModel getAddonOrCreate()
- Specified by:
getAddonOrCreatein interfaceAttributeModelAware- Returns:
- OHLCV Item addon. If not available, create it.
-
-