Package com.apama.net.interfaces
Interface GenericComponentManagement.GenericComponentInfo
- 
- Enclosing interface:
- GenericComponentManagement
 
 public static interface GenericComponentManagement.GenericComponentInfoA list of related component info tuples
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GenericComponentManagement.GenericComponentInfoTuple[]getData()An ordered list of (name,value) tuples.default java.lang.StringgetDataValue(java.lang.String name, java.lang.String defaultValue)Get the value of the tuple with the specified unique name.java.lang.StringgetName()The name of this category of component information.
 
- 
- 
- 
Method Detail- 
getNamejava.lang.String getName() The name of this category of component information.
 - 
getDataGenericComponentManagement.GenericComponentInfoTuple[] getData() An ordered list of (name,value) tuples. For some categories the names are unique keys (for dictionary information), for others the keys may not be unique, or may all be null (essentially a list of values).
 - 
getDataValuedefault java.lang.String getDataValue(java.lang.String name, java.lang.String defaultValue)Get the value of the tuple with the specified unique name. This is a convenience method for looking up a value from GenericComponentInfo categories that hold dictionary content, where each name is a unique key.- Parameters:
- defaultValue- A value to be returned if the specified name has no associated (non-null) value.
- Returns:
- the value of the tuple matching the specified name, or defaultValue if not found or null. Unless defaultValue=null this method will never return a null value.
- Throws:
- java.lang.UnsupportedOperationException- if the specified name appears more than once. This method should only be used on categories where the name is a unique key.
 
 
- 
 
-