kea.busfw
Interface BusEntity

All Superinterfaces:
BusObject
All Known Implementing Classes:
BusEntityImpl

public interface BusEntity
extends BusObject

Business entity interface.

Intent

BusEntity interface represent a business entity, Business Entity contains attributes,base behaviors,relationships , constrains and so on.

Features

Architecture

Example

Author:
bingfeng zhang

Method Summary
 java.lang.String getId()
          Get a primary key of Business entity object
 java.lang.Object getValue(java.lang.String name)
          get a business attribute value of business entity object
 void setId(java.lang.String id)
          set a primary key of Business entity object
 void setValue(java.lang.String name, java.lang.Object value)
          set a business attribute value of business entity object
 

Method Detail

getId

public java.lang.String getId()
Get a primary key of Business entity object
Returns:
String a business primary key, the return value may null,if the BusEntity Object is created and it's not saved.

setId

public void setId(java.lang.String id)
set a primary key of Business entity object

getValue

public java.lang.Object getValue(java.lang.String name)
get a business attribute value of business entity object
Parameters:
name - a business attribute name
Returns:
Object a business attribute value

setValue

public void setValue(java.lang.String name,
                     java.lang.Object value)
set a business attribute value of business entity object
Parameters:
attriName - a business attribute name
value - a business attribute name


Copyright #169; 2000 Kea team. All Rights Reserved.