01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package org.terracotta.dso.views;
06:
07: public class BootClassWrapper {
08: private AdditionalBootJarClassesWrapper m_parent;
09: private int m_index;
10:
11: BootClassWrapper(AdditionalBootJarClassesWrapper parent, int index) {
12: m_parent = parent;
13: m_index = index;
14: }
15:
16: AdditionalBootJarClassesWrapper getParent() {
17: return m_parent;
18: }
19:
20: String getClassName() {
21: return m_parent.getIncludeArray(m_index);
22: }
23:
24: void remove() {
25: m_parent.removeInclude(m_index);
26: }
27:
28: public String toString() {
29: return getClassName();
30: }
31: }
|