theory.smart.ebusiness.shoppingadvisor
Interface ItemByDegree
- All Known Implementing Classes:
- ItemByDegreeImpl
- public interface ItemByDegree
- extends Belonging
This class associates an item with a degree. Used to sort items by degree, once we we decide which quality we want.
degree
[ItemByDegree] <*>------> [int
]
item
[ItemByDegree] <>------> [theory.smart.ebusiness.item.Item
]
- See Also:
ItemByDegreeHome
,
ItemByDegreeImpl
Methods inherited from interface com.sun.java.util.collections.Comparable |
compareTo |
getDegree
public int getDegree()
- Get the value of degree
- Returns:
- degree.
setDegree
public void setDegree(int degree)
- Set the value of degree
- Parameters:
degrees
- degree to be added
getItem
public Item getItem()
throws java.rmi.RemoteException
- Get the remote object reference of item
- Returns:
- item.
setItem
public void setItem(Item item)
throws java.rmi.RemoteException
- Set the remote object reference of item
- Parameters:
items
- item to be added
getItemKey
public ItemPk getItemKey()
throws java.rmi.RemoteException
- Get the Primary Key of the object from the smart handle so that Item itself does have to be referenced.
getItemHandle
public SmartHandle getItemHandle()
throws java.rmi.RemoteException
Copyright © 2000 BEA Systems, Inc. All Rights Reserved