|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the Annotation Object.
Last Modified $Date: 1999/10/05 21:05:36 $
Field Summary | |
static java.lang.String |
LOCALE
|
static java.lang.String |
MIMETYPE
|
static java.lang.String |
PRODUCTS
|
static java.lang.String |
TEXT
|
Method Summary | |
void |
addProduct(Identifier id,
Product prd)
This method adds a Product to a collection of Products that the Annotation belongs to. |
void |
create(Identifier id,
java.util.Locale loc,
java.lang.String txt,
java.lang.String mime)
This method creates a new Annotation Object and sets its attributes. |
java.util.Locale |
getLocale()
This method returns the Locale Object. |
java.lang.String |
getMimeType()
This method returns the Annotation String. |
java.lang.String |
getText()
This method returns the Annotation String. |
com.sun.java.util.collections.Iterator |
products()
This method returns an iterator over the products collection. |
void |
removeProduct(Identifier id,
Product prd)
This method removes a Product from a collection of Products that the Annotation belongs to. |
Methods inherited from interface com.imaginary.lwp.Entity |
getLastUpdateID,
getLastUpdateTime,
getObjectID,
getReference,
remove |
Field Detail |
public static final java.lang.String LOCALE
public static final java.lang.String TEXT
public static final java.lang.String MIMETYPE
public static final java.lang.String PRODUCTS
Method Detail |
public void addProduct(Identifier id, Product prd) throws PersistenceException, java.rmi.RemoteException
id
- An identifer object for the Annotationprd
- A Product object to add to the collectionpublic void create(Identifier id, java.util.Locale loc, java.lang.String txt, java.lang.String mime) throws CreateException, java.rmi.RemoteException, PersistenceException
id
- An identifer object for the Annotationloc
- Country/Language Informationtxt
- The text of the Annotationmime
- The mimetype of the Annotationpublic java.util.Locale getLocale() throws java.rmi.RemoteException
public java.lang.String getText() throws java.rmi.RemoteException
public java.lang.String getMimeType() throws java.rmi.RemoteException
public com.sun.java.util.collections.Iterator products() throws java.rmi.RemoteException
public void removeProduct(Identifier id, Product prd) throws PersistenceException, java.rmi.RemoteException
id
- An identifer object for the Annotationprd
- A Product object to add to the collection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |