[portal-commits] JBoss Portal SVN: r8933 - branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model2/state.
portal-commits at lists.jboss.org
portal-commits at lists.jboss.org
Wed Nov 14 16:08:03 EST 2007
Author: julien at jboss.com
Date: 2007-11-14 16:08:03 -0500 (Wed, 14 Nov 2007)
New Revision: 8933
Modified:
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model2/state/ObjectState.java
Log:
minor update
Modified: branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model2/state/ObjectState.java
===================================================================
--- branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model2/state/ObjectState.java 2007-11-14 20:26:08 UTC (rev 8932)
+++ branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model2/state/ObjectState.java 2007-11-14 21:08:03 UTC (rev 8933)
@@ -22,6 +22,8 @@
******************************************************************************/
package org.jboss.portal.presentation.model2.state;
+import org.jboss.portal.presentation.model2.UIObject;
+
import java.util.Map;
import java.util.List;
@@ -33,6 +35,9 @@
{
/** . */
+ private final Class<? extends UIObject> type;
+
+ /** . */
private final String name;
/** . */
@@ -44,14 +49,20 @@
/** . */
private final List<String> childrenIds;
- public ObjectState(String name, Map<String, String> properties, String parentId, List<String> childrenIds)
+ public ObjectState(Class<? extends UIObject> type, String name, Map<String, String> properties, String parentId, List<String> childrenIds)
{
+ this.type = type;
this.name = name;
this.properties = properties;
this.parentId = parentId;
this.childrenIds = childrenIds;
}
+ public Class<? extends UIObject> getType()
+ {
+ return type;
+ }
+
public String getName()
{
return name;
More information about the portal-commits
mailing list