jford 2004/02/26 11:10:45 Added: commons/src/java/org/apache/jetspeed/om/common GenericMetadata.java Log: New interface for adding arbitrary metadata Revision Changes Path 1.1 jakarta-jetspeed-2/commons/src/java/org/apache/jetspeed/om/common/GenericMetadata.java Index: GenericMetadata.java =================================================================== /* * Created on Feb 20, 2004 * * To change the template for this generated file go to * Window - Preferences - Java - Code Generation - Code and Comments */ package org.apache.jetspeed.om.common; import java.util.Collection; import java.util.Locale; import org.apache.pluto.om.common.ObjectID; /** * @author jford * * To change the template for this generated type comment go to * Window - Preferences - Java - Code Generation - Code and Comments */ public interface GenericMetadata { public void addField(Locale locale, String name, String value); public void addField(LocalizedField field); public Collection getFields(String name); public void setFields(String name, Collection values); public Collection getFields(); public void setFields(Collection fields); /** * @param objectID */ void setId(String objectID); /** * @see org.apache.pluto.om.portlet.PortletDefinition#getId() */ public ObjectID getId(); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]