com.genesyslab.omsdk.qil.applicationblocks.monitoring.getters
Class GetBusinessAttribute

java.lang.Object
  extended bycom.genesyslab.omsdk.qil.applicationblocks.monitoring.getters.GetBusinessAttribute

public class GetBusinessAttribute
extends java.lang.Object

Shows how to retrieve business attributes and their values.
This class assumes that QIL factory has already been successfully initialized.


Constructor Summary
GetBusinessAttribute()
           
 
Method Summary
 BusinessAttribute getBusinessAttribute(java.lang.String businessAttributeName)
          Retrieves a BusinessAttribute instance by specifying the name of the targetted Business Attribute.
Warning: Pass the name of the business attribute, not the display name.
 BusinessAttributeValue getBusinessAttributeValue(java.lang.String businessAttributeName, java.lang.String valueName)
          Retrieves a BusinessAttributeValue value by passing the name of the value and the name of the parent business attribute.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetBusinessAttribute

public GetBusinessAttribute()
Method Detail

getBusinessAttribute

public BusinessAttribute getBusinessAttribute(java.lang.String businessAttributeName)
Retrieves a BusinessAttribute instance by specifying the name of the targetted Business Attribute.
Warning: Pass the name of the business attribute, not the display name. Using the display name will not allow you to retrieve the business attribute.

Parameters:
businessAttributeName - Name of the business attribute.
Returns:
BusinessAttribute instance of Business Attribute or, if Bussiness Attribute is not found, or the connection is lost, then a null is returned.

getBusinessAttributeValue

public BusinessAttributeValue getBusinessAttributeValue(java.lang.String businessAttributeName,
                                                        java.lang.String valueName)
Retrieves a BusinessAttributeValue value by passing the name of the value and the name of the parent business attribute.

Parameters:
businessAttributeName - name of a business attribute.
valueName - name of value.
Returns:
BusinessAttributeValue or null