|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class has a particular quality, and it has a collection of items that have that quality to some degree.
Primary Key = theory.smart.ebusiness.shoppingadvisor.ItemsByQualityPk
qualityName
[ItemsByQuality] <*>------> [String
] (Primary Key)
itemByDegree (List)
[ItemsByQuality] <*>------> [theory.smart.ebusiness.shoppingadvisor.ItemByDegree
]
0..*
ItemsByQualityPk
,
ItemsByQualityHome
,
ItemsByQualityImpl
,
ItemsByQualityValue
Method Summary | |
void |
addFirstItemByDegree(ItemByDegree itemByDegree)
Inserts the given itemByDegree at the beginning of the itemByDegree list. |
void |
addItemByDegree(int index,
ItemByDegree itemByDegree)
Inserts the specified itemByDegree at the specified position in the itemByDegree list. |
boolean |
addItemByDegree(ItemByDegree itemByDegree)
Appends the specified itemByDegree to the end of the itemByDegree list. |
boolean |
addItemByDegrees(int index,
com.sun.java.util.collections.LinkedList itemByDegrees)
Inserts all of the itemByDegrees in the specified collection into this list, starting at the specified position. |
boolean |
addItemByDegrees(com.sun.java.util.collections.LinkedList itemByDegrees)
Appends all of the itemByDegrees in the specified collection to the end of the itemByDegree list, in the order that they are returned by the specified collection's iterator. |
void |
addLastItemByDegree(ItemByDegree itemByDegree)
Appends the given itemByDegree to the end of the itemByDegree list. |
void |
applyItem(Item item,
int degree)
Add an item to this quality with the degree specified. |
boolean |
containsItemByDegree(ItemByDegree itemByDegree)
Returns true if the itemByDegree list contains the specified element. |
ItemByDegree |
getFirstItemByDegree()
Returns the first itemByDegree in the itemByDegree list. |
ItemByDegree |
getItemByDegree(int index)
Returns the itemByDegree at the specified position in the itemByDegree list. |
com.sun.java.util.collections.LinkedList |
getItemByDegrees()
Returns all of the itemByDegrees in the itemByDegree list. |
com.sun.java.util.collections.LinkedList |
getItemByDegrees(int fromIndex,
int toIndex)
Returns a view of the portion of the itemByDegree list between fromIndex, inclusive, and toIndex, exclusive. |
ItemsByQualityValue |
getItemsByQualityByValue()
Get all of ItemsByQuality's attributes. |
ItemByDegree |
getLastItemByDegree()
Returns the last itemByDegree in the itemByDegree list. |
int |
getNumberOfItemByDegrees()
Returns the number of itemByDegrees in the itemByDegree list. |
java.lang.String |
getQualityName()
|
int |
indexOfItemByDegree(ItemByDegree itemByDegree)
Returns the index in the itemByDegree list of the first occurrence of the specified element, or -1 if the itemByDegree list does not contain this element. |
boolean |
isItemByDegreesEmtpy()
Returns true if the itemByDegree list contains no itemByDegrees. |
int |
lastIndexOfItemByDegree(ItemByDegree itemByDegree)
Returns the index in the itemByDegree list of the last occurrence of the specified element, or -1 if the itemByDegree list does not contain this element. |
void |
removeAllItemByDegrees()
Removes all of the itemByDegrees from the itemByDegree list. |
ItemByDegree |
removeFirstItemByDegree()
Removes and returns the first itemByDegree from the itemByDegree list. |
ItemByDegree |
removeItemByDegree(int index)
Removes the itemByDegree at the specified position in the itemByDegree list. |
boolean |
removeItemByDegree(ItemByDegree itemByDegree)
Removes the first occurrence of the specified itemByDegree in the itemByDegree list. |
ItemByDegree |
removeLastItemByDegree()
Removes and returns the last itemByDegree from the itemByDegree list. |
ItemByDegree |
setItemByDegree(int index,
ItemByDegree itemByDegree)
Replaces the itemByDegree at the specified position in the itemByDegree list with the specified element. |
void |
setItemsByQualityByValue(ItemsByQualityValue value)
Set all of ItemsByQuality's attributes to the passed in value. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public ItemsByQualityValue getItemsByQualityByValue() throws java.rmi.RemoteException
public void setItemsByQualityByValue(ItemsByQualityValue value) throws java.rmi.RemoteException
ItemsByQualityValue
- the ItemsByQuality value objectpublic java.lang.String getQualityName() throws java.rmi.RemoteException
public void addItemByDegree(int index, ItemByDegree itemByDegree) throws java.rmi.RemoteException
index
- index at which the specified itemByDegree is to be inserted.itemByDegree
- itemByDegree to be inserted.public boolean addItemByDegree(ItemByDegree itemByDegree) throws java.rmi.RemoteException
itemByDegree
- itemByDegree to be appended to the itemByDegree list.public boolean addItemByDegrees(int index, com.sun.java.util.collections.LinkedList itemByDegrees) throws java.rmi.RemoteException
index
- index at which to insert first element
from the specified collection.itemByDegrees
- itemByDegrees to be inserted into the itemByDegree list.public boolean addItemByDegrees(com.sun.java.util.collections.LinkedList itemByDegrees) throws java.rmi.RemoteException
itemByDegrees
- itemByDegrees to be inserted into the itemByDegree list.public void addFirstItemByDegree(ItemByDegree itemByDegree) throws java.rmi.RemoteException
public void addLastItemByDegree(ItemByDegree itemByDegree) throws java.rmi.RemoteException
public boolean containsItemByDegree(ItemByDegree itemByDegree) throws java.rmi.RemoteException
itemByDegree
- itemByDegree whose presence in the itemByDegree list is to be tested.public ItemByDegree getItemByDegree(int index) throws java.rmi.RemoteException
index
- index of itemByDegree to return.public com.sun.java.util.collections.LinkedList getItemByDegrees(int fromIndex, int toIndex) throws java.rmi.RemoteException
fromIndex
- low endpoint (inclusive) of the subList.toKey
- high endpoint (exclusive) of the subList.public com.sun.java.util.collections.LinkedList getItemByDegrees() throws java.rmi.RemoteException
public ItemByDegree getFirstItemByDegree() throws java.rmi.RemoteException
public ItemByDegree getLastItemByDegree() throws java.rmi.RemoteException
public int getNumberOfItemByDegrees() throws java.rmi.RemoteException
public int indexOfItemByDegree(ItemByDegree itemByDegree) throws java.rmi.RemoteException
itemByDegree
- itemByDegree to search for.public boolean isItemByDegreesEmtpy() throws java.rmi.RemoteException
public int lastIndexOfItemByDegree(ItemByDegree itemByDegree) throws java.rmi.RemoteException
itemByDegree
- itemByDegree to search for.public void removeAllItemByDegrees() throws java.rmi.RemoteException
public ItemByDegree removeItemByDegree(int index) throws java.rmi.RemoteException
index
- the index of the itemByDegree to removed.public boolean removeItemByDegree(ItemByDegree itemByDegree) throws java.rmi.RemoteException
itemByDegree
- itemByDegree to be removed from the itemByDegree list, if present.public ItemByDegree removeFirstItemByDegree() throws java.rmi.RemoteException
public ItemByDegree removeLastItemByDegree() throws java.rmi.RemoteException
public ItemByDegree setItemByDegree(int index, ItemByDegree itemByDegree) throws java.rmi.RemoteException
index
- index of itemByDegree to replace.itemByDegree
- itemByDegree to be stored at the specified position.public void applyItem(Item item, int degree) throws java.rmi.RemoteException
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |