FileDocCategorySizeDatePackage
GenClasses.javaAPI DocGlassfish v2 API33394Fri May 04 22:34:40 BST 2007com.sun.enterprise.tools.common.dd.ejb

GenClasses

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

Fields Summary
static Vector
comparators
public static final String
REMOTE_IMPL
public static final String
LOCAL_IMPL
public static final String
REMOTE_HOME_IMPL
public static final String
LOCAL_HOME_IMPL
Constructors Summary
public GenClasses()

	// NOI18N

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

		super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
		// Properties (see root bean comments for the bean graph)
		this.createProperty("remote-impl", 	// NOI18N
			REMOTE_IMPL, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("local-impl", 	// NOI18N
			LOCAL_IMPL, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("remote-home-impl", 	// NOI18N
			REMOTE_HOME_IMPL, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("local-home-impl", 	// NOI18N
			LOCAL_HOME_IMPL, 
			Common.TYPE_0_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("RemoteImpl");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getRemoteImpl();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(REMOTE_IMPL, 0, str, indent);

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

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

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

	
public java.lang.StringdumpBeanNode()

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

		return (String)this.getValue(LOCAL_HOME_IMPL);
	
public java.lang.StringgetLocalImpl()

		return (String)this.getValue(LOCAL_IMPL);
	
public java.lang.StringgetRemoteHomeImpl()

		return (String)this.getValue(REMOTE_HOME_IMPL);
	
public java.lang.StringgetRemoteImpl()

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

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

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

		this.setValue(LOCAL_HOME_IMPL, value);
	
public voidsetLocalImpl(java.lang.String value)

		this.setValue(LOCAL_IMPL, value);
	
public voidsetRemoteHomeImpl(java.lang.String value)

		this.setValue(REMOTE_HOME_IMPL, value);
	
public voidsetRemoteImpl(java.lang.String value)

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

		boolean restrictionFailure = false;
		// Validating property remoteImpl
		if (getRemoteImpl() != null) {
		}
		// Validating property localImpl
		if (getLocalImpl() != null) {
		}
		// Validating property remoteHomeImpl
		if (getRemoteHomeImpl() != null) {
		}
		// Validating property localHomeImpl
		if (getLocalHomeImpl() != null) {
		}