Sessionpublic class Session extends com.sun.enterprise.tools.common.dd.SunBaseBean This generated bean class Session matches the schema element session
Generated on Wed Aug 13 10:43:32 PDT 2003 |
Fields Summary |
---|
static Vector | comparators | public static final String | CHECKPOINT_LOCATION | public static final String | QUICK_CHECKPOINT | public static final String | CHECKPOINTED_METHODS |
Constructors Summary |
---|
public Session() // NOI18N
this(Common.USE_DEFAULT_VALUES);
| public Session(int options)
super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
// Properties (see root bean comments for the bean graph)
this.createProperty("checkpoint-location", // NOI18N
CHECKPOINT_LOCATION,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("quick-checkpoint", // NOI18N
QUICK_CHECKPOINT,
Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY,
String.class);
this.createProperty("checkpointed-methods", // NOI18N
CHECKPOINTED_METHODS,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
CheckpointedMethods.class);
this.initialize(options);
|
Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
| public void | dump(java.lang.StringBuffer str, java.lang.String indent)
String s;
Object o;
org.netbeans.modules.schema2beans.BaseBean n;
str.append(indent);
str.append("CheckpointLocation"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getCheckpointLocation();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(CHECKPOINT_LOCATION, 0, str, indent);
str.append(indent);
str.append("QuickCheckpoint"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getQuickCheckpoint();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(QUICK_CHECKPOINT, 0, str, indent);
str.append(indent);
str.append("CheckpointedMethods"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getCheckpointedMethods();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(CHECKPOINTED_METHODS, 0, str, indent);
| public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("Session\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public java.lang.String | getCheckpointLocation()
return (String)this.getValue(CHECKPOINT_LOCATION);
| public CheckpointedMethods | getCheckpointedMethods()
return (CheckpointedMethods)this.getValue(CHECKPOINTED_METHODS);
| public java.lang.String | getQuickCheckpoint()
return (String)this.getValue(QUICK_CHECKPOINT);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public void | setCheckpointLocation(java.lang.String value)
this.setValue(CHECKPOINT_LOCATION, value);
| public void | setCheckpointedMethods(CheckpointedMethods value)
this.setValue(CHECKPOINTED_METHODS, value);
| public void | setQuickCheckpoint(java.lang.String value)
this.setValue(QUICK_CHECKPOINT, value);
| public void | validate()
boolean restrictionFailure = false;
// Validating property checkpointLocation
if (getCheckpointLocation() != null) {
}
// Validating property quickCheckpoint
if (getQuickCheckpoint() != null) {
}
// Validating property checkpointedMethods
if (getCheckpointedMethods() != null) {
getCheckpointedMethods().validate();
}
|
|