com.ibm.retail.AEF.automation
Interface BaseInfo

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
CouponInfo, CreditInfo, CustomerInfo, DiscountInfo, ItemInfo, LineItemInfo, OperatorAuthorization, OperatorInfo, PointsInfo, SalesTransactionInfo, TenderInfo, TransactionInfo, TransactionTotals

public interface BaseInfo
extends java.io.Serializable

BaseInfo is an interface which provides a base interface for all Info objects. BaseInfo objects have the capability to receive data and accept updates from a POSAppEvent object through the update() method.


Field Summary
static java.lang.String CLASS_KEY
           
 
Method Summary
 boolean getBooleanPropertyValue(java.lang.String propertyName)
          get a boolean property value
 int getIntegerPropertyValue(java.lang.String propertyName)
          get an int property value
 java.lang.Object getProperty(java.lang.String name)
          Gets a property value for a specified property name.
 java.util.Iterator getPropertyEntries()
          Get an iterator of property name/value entries for this Info object.
 void setProperty(java.lang.String name, java.lang.Object value)
          Set a property associated with this Info object .
 void update(com.ibm.retail.AEF.event.POSAppEvent evt)
          Update the contents of this info object using a POSAppEvent.
 

Field Detail

CLASS_KEY

public static final java.lang.String CLASS_KEY
See Also:
Constant Field Values
Method Detail

update

public void update(com.ibm.retail.AEF.event.POSAppEvent evt)
Update the contents of this info object using a POSAppEvent.

Parameters:
evt - The POSAppEvent.

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Set a property associated with this Info object .


getProperty

public java.lang.Object getProperty(java.lang.String name)
Gets a property value for a specified property name. Returns a null value if no value exists.

Returns:
Object The property value.

getPropertyEntries

public java.util.Iterator getPropertyEntries()
Get an iterator of property name/value entries for this Info object.

Returns:
iterator of property name/value pairs as Map.Entry objects

getBooleanPropertyValue

public boolean getBooleanPropertyValue(java.lang.String propertyName)
                                throws AEFException
get a boolean property value

Returns:
boolean
Throws:
AEFException - Possible return codes are:
AEFConst.INVALID_PROPERTY_VALUE
AEFConst.NO_SUCH_PROPERTY

getIntegerPropertyValue

public int getIntegerPropertyValue(java.lang.String propertyName)
                            throws AEFException
get an int property value

Returns:
int
Throws:
AEFException - Possible return codes are:
AEFConst.INVALID_PROPERTY_VALUE
AEFConst.NO_SUCH_PROPERTY


Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004