01: /*
02: * Copyright 2006 Ethan Nicholas. All rights reserved.
03: * Use is subject to license terms.
04: */
05: package jaxx.runtime;
06:
07: import java.io.*;
08:
09: public class ComponentDescriptor implements Serializable {
10: String id;
11: String javaClassName;
12: String styleClass;
13: ComponentDescriptor parent;
14:
15: public ComponentDescriptor(String id, String javaClassName,
16: String styleClass, ComponentDescriptor parent) {
17: this .id = id;
18: this .javaClassName = javaClassName;
19: this .styleClass = styleClass;
20: this .parent = parent;
21: }
22:
23: public String getId() {
24: return id;
25: }
26:
27: public String getJavaClassName() {
28: return javaClassName;
29: }
30:
31: public String getStyleClass() {
32: return styleClass;
33: }
34:
35: public ComponentDescriptor getParent() {
36: return parent;
37: }
38:
39: public String toString() {
40: return "ComponentDescriptor[" + id + ", " + javaClassName
41: + ", " + styleClass + "]";
42: }
43: }
|