KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > admin > common > ObjectNameTreeNode


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.admin.common;
5
6 import javax.management.ObjectName JavaDoc;
7
8 public class ObjectNameTreeNode extends XTreeNode {
9   public ObjectNameTreeNode(ObjectName JavaDoc objectName) {
10     super(objectName);
11   }
12
13   public void setObjectName(ObjectName JavaDoc objectName) {
14     setUserObject(objectName);
15   }
16
17   public ObjectName JavaDoc getObjectName() {
18     return (ObjectName JavaDoc)getUserObject();
19   }
20 }
21
22
Popular Tags