Class PrometheusStaticDataItem.PrometheusStaticDataMap<T extends PrometheusStaticDataItem>
java.lang.Object
io.github.tonywasher.joceanus.prometheus.data.PrometheusDataInstanceMap<T,String>
io.github.tonywasher.joceanus.prometheus.data.PrometheusStaticDataItem.PrometheusStaticDataMap<T>
- Type Parameters:
T- the item type
- All Implemented Interfaces:
MetisDataItem.MetisDataObjectFormat,MetisFieldItem,PrometheusDataMapItem
- Enclosing class:
PrometheusStaticDataItem
public static class PrometheusStaticDataItem.PrometheusStaticDataMap<T extends PrometheusStaticDataItem>
extends PrometheusDataInstanceMap<T,String>
The dataMap class.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.tonywasher.joceanus.metis.field.MetisFieldItem
MetisFieldItem.MetisFieldDef, MetisFieldItem.MetisFieldItemType, MetisFieldItem.MetisFieldSetDef, MetisFieldItem.MetisFieldTableItem, MetisFieldItem.MetisFieldUpdatableItem, MetisFieldItem.MetisFieldVersionedDef -
Field Summary
Fields inherited from class io.github.tonywasher.joceanus.prometheus.data.PrometheusDataInstanceMap
ONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustForItem(PrometheusDataItem pItem) adjust maps for item.booleanavailableName(String pName) Check availability of name.findItemByName(String pName) find item by name.formatObject(OceanusDataFormatter pFormatter) Obtain Object summary.Obtain the fieldSet.voidresetMap()Reset the map.booleanvalidNameCount(String pName) Check validity of name.booleanvalidOrderCount(Integer pOrder) Check validity of order.Methods inherited from class io.github.tonywasher.joceanus.prometheus.data.PrometheusDataInstanceMap
adjustForItem, availableKey, findItemByKey, validKeyCount
-
Constructor Details
-
PrometheusStaticDataMap
public PrometheusStaticDataMap()Constructor.
-
-
Method Details
-
getDataFieldSet
Description copied from interface:MetisFieldItemObtain the fieldSet.- Specified by:
getDataFieldSetin interfaceMetisFieldItem- Overrides:
getDataFieldSetin classPrometheusDataInstanceMap<T extends PrometheusStaticDataItem,String> - Returns:
- the fieldSet
-
formatObject
Description copied from interface:MetisDataItem.MetisDataObjectFormatObtain Object summary.- Specified by:
formatObjectin interfaceMetisDataItem.MetisDataObjectFormat- Overrides:
formatObjectin classPrometheusDataInstanceMap<T extends PrometheusStaticDataItem,String> - Parameters:
pFormatter- the data formatter- Returns:
- the display summary of the object
-
resetMap
public void resetMap()Description copied from interface:PrometheusDataMapItemReset the map.- Specified by:
resetMapin interfacePrometheusDataMapItem- Overrides:
resetMapin classPrometheusDataInstanceMap<T extends PrometheusStaticDataItem,String>
-
adjustForItem
Description copied from interface:PrometheusDataMapItemadjust maps for item.- Parameters:
pItem- the item to map
-
findItemByName
find item by name.- Parameters:
pName- the name to look up- Returns:
- the matching item
-
validNameCount
Check validity of name.- Parameters:
pName- the name to look up- Returns:
- true/false
-
availableName
Check availability of name.- Parameters:
pName- the key to look up- Returns:
- true/false
-
validOrderCount
Check validity of order.- Parameters:
pOrder- the order to look up- Returns:
- true/false
-