1 9 package org.jboss.portal.server.metadata; 10 11 import org.jboss.portal.server.ServerObjectID; 12 13 17 public class WindowMetaData extends ServerObjectMetaData 18 { 19 20 21 private final ServerObjectID serverID; 22 23 24 private final ServerObjectID instanceID; 25 26 public WindowMetaData(String name, ServerObjectID serverID, ServerObjectID instanceID) 27 { 28 super(ServerObjectID.createWindowID(serverID, name), name); 29 this.serverID = serverID; 30 this.instanceID = instanceID; 31 this.depends.add(serverID); 32 this.depends.add(instanceID); 33 } 34 35 public ServerObjectID getPortalID() 36 { 37 return serverID; 38 } 39 40 public ServerObjectID getInstanceID() 41 { 42 return instanceID; 43 } 44 } 45 | Popular Tags |