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

PmInuse

public class PmInuse extends com.sun.enterprise.tools.common.dd.SunBaseBean
This generated bean class PmInuse matches the schema element pm-inuse Generated on Wed Aug 13 10:43:32 PDT 2003

Fields Summary
static Vector
comparators
public static final String
PM_IDENTIFIER
public static final String
PM_VERSION
Constructors Summary
public PmInuse()

	// NOI18N

	  
		this(Common.USE_DEFAULT_VALUES);
	
public PmInuse(int options)

		super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
		// Properties (see root bean comments for the bean graph)
		this.createProperty("pm-identifier", 	// NOI18N
			PM_IDENTIFIER, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("pm-version", 	// NOI18N
			PM_VERSION, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.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("PmIdentifier");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getPmIdentifier();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(PM_IDENTIFIER, 0, str, indent);

		str.append(indent);
		str.append("PmVersion");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getPmVersion();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(PM_VERSION, 0, str, indent);

	
public java.lang.StringdumpBeanNode()

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

		return (String)this.getValue(PM_IDENTIFIER);
	
public java.lang.StringgetPmVersion()

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

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

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

		this.setValue(PM_IDENTIFIER, value);
	
public voidsetPmVersion(java.lang.String value)

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

		boolean restrictionFailure = false;
		// Validating property pmIdentifier
		if (getPmIdentifier() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getPmIdentifier() == null", "pmIdentifier", this);	// NOI18N
		}
		// Validating property pmVersion
		if (getPmVersion() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getPmVersion() == null", "pmVersion", this);	// NOI18N
		}