|
|||||||||
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.cat.EntryItemReference
References a specific entry item entity class and provides methods
that delegate to that entry item.
Last modified $Date: 1999/10/05 21:00:50 $
Constructor Summary | |
EntryItemReference()
Empty constructor required for serialization. |
|
EntryItemReference(EntryItem ent)
Constructs a new entry item reference tied to the specified entry item. |
|
EntryItemReference(long oid)
Constructs a new entry item reference tied to the object with the specified objectID . |
Method Summary | |
void |
assign(long oid,
com.sun.java.util.collections.HashMap vals)
Associated this reference with the preloaded values specified. |
java.lang.String |
getDescription(java.util.Locale loc)
Provides the description for this entry item as if it were the primary entry in the entry in which it is contained. |
SimpleEntryReference |
getEntry()
Provides the entry that owns this entry item. |
java.lang.String |
getLineDescription(java.util.Locale loc)
Provides the description of this entry item as if it were a secondary entry item in the entry in which it is contained. |
java.util.Properties |
getProperties()
Provides the properties associated with this entry item. |
java.lang.String |
getTitle(java.util.Locale loc)
Provides the title for this entry item. |
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 EntryItemReference()
public EntryItemReference(long oid)
objectID
.oid
- the objectID
of the object to which it is tiedpublic EntryItemReference(EntryItem ent) throws java.rmi.RemoteException
the
- entity to which this reference is tiedMethod Detail |
public void assign(long oid, com.sun.java.util.collections.HashMap vals)
oid
- the objectID
of the object to which this
reference is tiedvals
- the preloaded valuespublic java.lang.String getDescription(java.util.Locale loc) throws java.rmi.RemoteException
loc
- the locale for which the description should be translatedpublic SimpleEntryReference getEntry() throws java.rmi.RemoteException
public java.lang.String getLineDescription(java.util.Locale loc) throws java.rmi.RemoteException
loc
- the locale for which the text should be translatedpublic java.util.Properties getProperties() throws java.rmi.RemoteException
EntryItem
concept, data specific
to what individual things need are stored in properties. For example,
for J.W. Pepper products, price information is stored in properties.public java.lang.String getTitle(java.util.Locale loc) throws java.rmi.RemoteException
loc
- the locale for which the title should be translated
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |