|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.imaginary.lwp.BaseReference | +--com.jwpepper.inv.ManufacturerReference
The LWP reference class for the manufacturer business component. This
class is a serialized class that is used as a stand-in for the
actual ManufacturerImpl
class. It implements data
caching and failover support to simplify the client interface to
the business object.
Last modified $Date: 1999/10/05 15:26:44 $
Constructor Summary | |
ManufacturerReference()
Empty constructor required by serialization. |
|
ManufacturerReference(long oid)
Constructs a new ManufacturerReference instance
that will delegate to the ManufacturerImpl with
the specified objectID . |
|
ManufacturerReference(Manufacturer ent)
Constructs a reference class for the specified entity. |
Method Summary | |
void |
addProduct(Identifier id,
Product prd)
Delegates to the manufacturer entity associated with this reference by calling its addProduct() method. |
void |
assign(long oid,
com.sun.java.util.collections.HashMap vals)
Assigns a reference class that refers to the manufacturer business object described by the specified HashMap . |
java.lang.String |
getCode()
Delegates to the manufacturer entity associated with this reference and returns the return value from its getCode()
method. |
java.lang.String |
getName(java.util.Locale loc)
Delegates to the manufacturer entity associated with this reference and returns the return value from its getName()
method. |
com.sun.java.util.collections.Iterator |
products()
Delegates to the manufacturer entity associated with this reference and returns the return value from its products()
method. |
void |
removeProduct(Identifier id,
Product prd)
Delegates to the associated entity's removeProduct
method. |
Methods inherited from class com.imaginary.lwp.BaseReference |
assign,
assign,
get,
getEntity,
getLastUpdateID,
getLastUpdateTime,
getObjectID,
put,
reconnect |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ManufacturerReference()
public ManufacturerReference(long oid)
ManufacturerReference
instance
that will delegate to the ManufacturerImpl
with
the specified objectID
.oid
- the objectID
of the manufacturer this
reference representspublic ManufacturerReference(Manufacturer ent) throws java.rmi.RemoteException
ent
- the entity for which this reference existsMethod Detail |
public void assign(long oid, com.sun.java.util.collections.HashMap vals)
HashMap
.oid
- the objectID
of the manufacturervals
- the values that describe this reference's entitypublic void addProduct(Identifier id, Product prd) throws PersistenceException, java.rmi.RemoteException
addProduct()
method.id
- the client identifierprd
- the product to be addedpublic java.lang.String getCode() throws java.rmi.RemoteException
getCode()
method.public java.lang.String getName(java.util.Locale loc) throws java.rmi.RemoteException
getName()
method.loc
- the locale for which the name should be translatedpublic com.sun.java.util.collections.Iterator products() throws java.rmi.RemoteException
products()
method.public void removeProduct(Identifier id, Product prd) throws PersistenceException, java.rmi.RemoteException
removeProduct
method.id
- the client identifierprd
- the product to be removed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |