|
bea Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This represents a virtual storage unit for an item type. It has a reference to the class of item that is stored there and is derived from account. Account is a mechanism for keeping track of the quantity of something and controlling allocation of that something through transactions.
Primary Key = theory.smart.ebusiness.inventory.InventoryRecordPk
item
[InventoryRecord] <>------> [theory.smart.ebusiness.item.Item
]
locator (List)
[InventoryRecord] <*>------> [theory.smart.ebusiness.inventory.Locator
]
0..*
InventoryRecordPk
,
InventoryRecordHome
,
InventoryRecordImpl
,
InventoryRecordValue
Method Summary | |
void |
addFirstLocator(Locator locator)
Inserts the given locator at the beginning of the locator list. |
void |
addLastLocator(Locator locator)
Appends the given locator to the end of the locator list. |
void |
addLocator(int index,
Locator locator)
Inserts the specified locator at the specified position in the locator list. |
boolean |
addLocator(Locator locator)
Appends the specified locator to the end of the locator list. |
boolean |
addLocators(int index,
com.sun.java.util.collections.LinkedList locators)
Inserts all of the locators in the specified collection into this list, starting at the specified position. |
boolean |
addLocators(com.sun.java.util.collections.LinkedList locators)
Appends all of the locators in the specified collection to the end of the locator list, in the order that they are returned by the specified collection's iterator. |
boolean |
containsLocator(Locator locator)
Returns true if the locator list contains the specified element. |
Locator |
getFirstLocator()
Returns the first locator in the locator list. |
InventoryRecordValue |
getInventoryRecordByValue()
Get all of InventoryRecord's attributes. |
Item |
getItem()
Get the remote object reference of item |
Locator |
getLastLocator()
Returns the last locator in the locator list. |
Locator |
getLocator(int index)
Returns the locator at the specified position in the locator list. |
com.sun.java.util.collections.LinkedList |
getLocators()
Returns all of the locators in the locator list. |
com.sun.java.util.collections.LinkedList |
getLocators(int fromIndex,
int toIndex)
Returns a view of the portion of the locator list between fromIndex, inclusive, and toIndex, exclusive. |
int |
getNumberOfLocators()
Returns the number of locators in the locator list. |
int |
indexOfLocator(Locator locator)
Returns the index in the locator list of the first occurrence of the specified element, or -1 if the locator list does not contain this element. |
boolean |
isLocatorsEmtpy()
Returns true if the locator list contains no locators. |
int |
lastIndexOfLocator(Locator locator)
Returns the index in the locator list of the last occurrence of the specified element, or -1 if the locator list does not contain this element. |
void |
removeAllLocators()
Removes all of the locators from the locator list. |
Locator |
removeFirstLocator()
Removes and returns the first locator from the locator list. |
Locator |
removeLastLocator()
Removes and returns the last locator from the locator list. |
Locator |
removeLocator(int index)
Removes the locator at the specified position in the locator list. |
boolean |
removeLocator(Locator locator)
Removes the first occurrence of the specified locator in the locator list. |
void |
setInventoryRecordByValue(InventoryRecordValue value)
Set all of InventoryRecord's attributes to the passed in value. |
void |
setItem(Item item)
Set the remote object reference of item |
Locator |
setLocator(int index,
Locator locator)
Replaces the locator at the specified position in the locator list with the specified element. |
Methods inherited from interface theory.smart.foundation.ConfigurableEntity |
setSuccessorAtClassLevel,
setSuccessorAtInstanceLevel |
Methods inherited from interface theory.smart.foundation.Configurable |
addProperty,
getProperty,
removeProperty |
Methods inherited from interface theory.smart.foundation.BusinessPolicyManager |
addBusinessPolicy,
getBusinessPolicy,
removeBusinessPolicy |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public InventoryRecordValue getInventoryRecordByValue() throws java.rmi.RemoteException
public void setInventoryRecordByValue(InventoryRecordValue value) throws java.rmi.RemoteException
InventoryRecordValue
- the InventoryRecord value objectpublic Item getItem() throws java.rmi.RemoteException
public void setItem(Item item) throws java.rmi.RemoteException
items
- item to be addedpublic void addLocator(int index, Locator locator) throws java.rmi.RemoteException
index
- index at which the specified locator is to be inserted.locator
- locator to be inserted.public boolean addLocator(Locator locator) throws java.rmi.RemoteException
locator
- locator to be appended to the locator list.public boolean addLocators(int index, com.sun.java.util.collections.LinkedList locators) throws java.rmi.RemoteException
index
- index at which to insert first element
from the specified collection.locators
- locators to be inserted into the locator list.public boolean addLocators(com.sun.java.util.collections.LinkedList locators) throws java.rmi.RemoteException
locators
- locators to be inserted into the locator list.public void addFirstLocator(Locator locator) throws java.rmi.RemoteException
public void addLastLocator(Locator locator) throws java.rmi.RemoteException
public boolean containsLocator(Locator locator) throws java.rmi.RemoteException
locator
- locator whose presence in the locator list is to be tested.public Locator getLocator(int index) throws java.rmi.RemoteException
index
- index of locator to return.public com.sun.java.util.collections.LinkedList getLocators(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 getLocators() throws java.rmi.RemoteException
public Locator getFirstLocator() throws java.rmi.RemoteException
public Locator getLastLocator() throws java.rmi.RemoteException
public int getNumberOfLocators() throws java.rmi.RemoteException
public int indexOfLocator(Locator locator) throws java.rmi.RemoteException
locator
- locator to search for.public boolean isLocatorsEmtpy() throws java.rmi.RemoteException
public int lastIndexOfLocator(Locator locator) throws java.rmi.RemoteException
locator
- locator to search for.public void removeAllLocators() throws java.rmi.RemoteException
public Locator removeLocator(int index) throws java.rmi.RemoteException
index
- the index of the locator to removed.public boolean removeLocator(Locator locator) throws java.rmi.RemoteException
locator
- locator to be removed from the locator list, if present.public Locator removeFirstLocator() throws java.rmi.RemoteException
public Locator removeLastLocator() throws java.rmi.RemoteException
public Locator setLocator(int index, Locator locator) throws java.rmi.RemoteException
index
- index of locator to replace.locator
- locator to be stored at the specified position.
|
bea Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |