|
bea Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--theory.smart.foundation.EntityImpl | +--theory.smart.ebusiness.shoppingadvisor.ItemsByQualityImpl
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
ItemsByQuality
,
ItemsByQualityHome
,
ItemsByQualityValue
, Serialized FormField Summary | |
com.sun.java.util.collections.LinkedList |
itemByDegrees
itemByDegree (List) [ItemsByQuality] <*>------> [ theory.smart.ebusiness.shoppingadvisor.ItemByDegree ]
0..*
|
java.lang.String |
qualityName
qualityName [ItemsByQuality] <*>------> [ String ] (Primary Key)
|
Fields inherited from class theory.smart.foundation.EntityImpl |
ctx,
isDirty,
isLoaded |
Constructor Summary | |
ItemsByQualityImpl()
|
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. |
void |
ejbActivate()
ejbActivate method. |
ItemsByQualityPk |
ejbCreate(ItemsByQualityPk itemsByQualityPk)
|
protected void |
ejbCreateInitVars(ItemsByQualityPk itemsByQualityPk)
|
java.util.Enumeration |
ejbFindAll()
|
ItemsByQualityPk |
ejbFindByPrimaryKey(ItemsByQualityPk pk)
|
void |
ejbLoad()
ejbLoad method. |
void |
ejbPassivate()
ejbPassivate method. |
void |
ejbPostCreate(ItemsByQualityPk itemsByQualityPk)
|
void |
ejbRemove()
ejbRemove method. |
void |
ejbStore()
ejbStore method. |
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. |
void |
setEntityContext(EntityContext ctx)
setEntityContext method. |
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. |
void |
unsetEntityContext()
unsetEntityContext method. |
Methods inherited from class theory.smart.foundation.EntityImpl |
ejbCreate,
ejbCreateInitVars,
ejbPostCreate,
getEntityContext,
isModified |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public java.lang.String qualityName
qualityName
[ItemsByQuality] <*>------> [String
] (Primary Key)
public com.sun.java.util.collections.LinkedList itemByDegrees
itemByDegree (List)
[ItemsByQuality] <*>------> [theory.smart.ebusiness.shoppingadvisor.ItemByDegree
]
0..*
Constructor Detail |
public ItemsByQualityImpl() throws CreateException
Method Detail |
public ItemsByQualityValue getItemsByQualityByValue() throws java.rmi.RemoteException
public void setItemsByQualityByValue(ItemsByQualityValue value) throws java.rmi.RemoteException
ItemsByQualityValue
- the ItemsByQuality value objectpublic ItemsByQualityPk ejbCreate(ItemsByQualityPk itemsByQualityPk) throws CreateException, java.rmi.RemoteException
protected void ejbCreateInitVars(ItemsByQualityPk itemsByQualityPk) throws CreateException, java.rmi.RemoteException
public void ejbPostCreate(ItemsByQualityPk itemsByQualityPk) throws CreateException, java.rmi.RemoteException
public void ejbLoad() throws java.rmi.RemoteException
public void ejbStore() throws java.rmi.RemoteException
public void ejbRemove() throws java.rmi.RemoteException, RemoveException
public void ejbActivate() throws java.rmi.RemoteException
public void ejbPassivate() throws java.rmi.RemoteException
public void setEntityContext(EntityContext ctx) throws java.rmi.RemoteException
public void unsetEntityContext() throws java.rmi.RemoteException
public ItemsByQualityPk ejbFindByPrimaryKey(ItemsByQualityPk pk) throws FinderException, java.rmi.RemoteException
public java.util.Enumeration ejbFindAll() throws FinderException, java.rmi.RemoteException
public java.lang.String getQualityName() throws java.rmi.RemoteException
public void addItemByDegree(int index, ItemByDegree itemByDegree)
index
- index at which the specified itemByDegree is to be inserted.itemByDegree
- itemByDegree to be inserted.public boolean addItemByDegree(ItemByDegree itemByDegree)
itemByDegree
- itemByDegree to be appended to the itemByDegree list.public boolean addItemByDegrees(int index, com.sun.java.util.collections.LinkedList itemByDegrees)
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)
itemByDegrees
- itemByDegrees to be inserted into the itemByDegree list.public void addFirstItemByDegree(ItemByDegree itemByDegree)
public void addLastItemByDegree(ItemByDegree itemByDegree)
public boolean containsItemByDegree(ItemByDegree itemByDegree)
itemByDegree
- itemByDegree whose presence in the itemByDegree list is to be tested.public ItemByDegree getItemByDegree(int index)
index
- index of itemByDegree to return.public com.sun.java.util.collections.LinkedList getItemByDegrees(int fromIndex, int toIndex)
fromIndex
- low endpoint (inclusive) of the subList.toKey
- high endpoint (exclusive) of the subList.public com.sun.java.util.collections.LinkedList getItemByDegrees()
public ItemByDegree getFirstItemByDegree()
public ItemByDegree getLastItemByDegree()
public int getNumberOfItemByDegrees()
public int indexOfItemByDegree(ItemByDegree itemByDegree)
itemByDegree
- itemByDegree to search for.public boolean isItemByDegreesEmtpy()
public int lastIndexOfItemByDegree(ItemByDegree itemByDegree)
itemByDegree
- itemByDegree to search for.public void removeAllItemByDegrees()
public ItemByDegree removeItemByDegree(int index)
index
- the index of the itemByDegree to removed.public boolean removeItemByDegree(ItemByDegree itemByDegree)
itemByDegree
- itemByDegree to be removed from the itemByDegree list, if present.public ItemByDegree removeFirstItemByDegree()
public ItemByDegree removeLastItemByDegree()
public ItemByDegree setItemByDegree(int index, ItemByDegree itemByDegree)
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 |