FileDocCategorySizeDatePackage
Session.javaAPI DocGlassfish v2 API32891Fri May 04 22:34:42 BST 2007com.sun.enterprise.tools.common.dd.ejb

Session

public 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 voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public voiddump(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.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("Session\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public java.lang.StringgetCheckpointLocation()

		return (String)this.getValue(CHECKPOINT_LOCATION);
	
public CheckpointedMethodsgetCheckpointedMethods()

		return (CheckpointedMethods)this.getValue(CHECKPOINTED_METHODS);
	
public java.lang.StringgetQuickCheckpoint()

		return (String)this.getValue(QUICK_CHECKPOINT);
	
voidinitialize(int options)

		
	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public voidsetCheckpointLocation(java.lang.String value)

		this.setValue(CHECKPOINT_LOCATION, value);
	
public voidsetCheckpointedMethods(CheckpointedMethods value)

		this.setValue(CHECKPOINTED_METHODS, value);
	
public voidsetQuickCheckpoint(java.lang.String value)

		this.setValue(QUICK_CHECKPOINT, value);
	
public voidvalidate()

		boolean restrictionFailure = false;
		// Validating property checkpointLocation
		if (getCheckpointLocation() != null) {
		}
		// Validating property quickCheckpoint
		if (getQuickCheckpoint() != null) {
		}
		// Validating property checkpointedMethods
		if (getCheckpointedMethods() != null) {
			getCheckpointedMethods().validate();
		}