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

Ejb

public class Ejb extends com.sun.enterprise.tools.common.dd.SunBaseBean
This generated bean class Ejb matches the schema element ejb Generated on Wed Mar 03 14:29:49 PST 2004

Fields Summary
static Vector
comparators
public static final String
AVAILABILITYENABLED
public static final String
EJB_NAME
public static final String
JNDI_NAME
public static final String
EJB_REF
public static final String
RESOURCE_REF
public static final String
RESOURCE_ENV_REF
public static final String
SERVICE_REF
public static final String
PASS_BY_REFERENCE
public static final String
CMP
public static final String
PRINCIPAL
public static final String
MDB_CONNECTION_FACTORY
public static final String
JMS_DURABLE_SUBSCRIPTION_NAME
public static final String
JMS_MAX_MESSAGES_LOAD
public static final String
IOR_SECURITY_CONFIG
public static final String
IS_READ_ONLY_BEAN
public static final String
REFRESH_PERIOD_IN_SECONDS
public static final String
COMMIT_OPTION
public static final String
CMT_TIMEOUT_IN_SECONDS
public static final String
USE_THREAD_POOL_ID
public static final String
GEN_CLASSES
public static final String
BEAN_POOL
public static final String
BEAN_CACHE
public static final String
MDB_RESOURCE_ADAPTER
public static final String
WEBSERVICE_ENDPOINT
public static final String
FLUSH_AT_END_OF_METHOD
public static final String
CHECKPOINTED_METHODS
public static final String
CHECKPOINT_AT_END_OF_METHOD
Constructors Summary
public Ejb()

	// NOI18N

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

		super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
		// Properties (see root bean comments for the bean graph)
		this.createProperty("ejb-name", 	// NOI18N
			EJB_NAME, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("jndi-name", 	// NOI18N
			JNDI_NAME, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("ejb-ref", 	// NOI18N
			EJB_REF, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			EjbRef.class);
		this.createProperty("resource-ref", 	// NOI18N
			RESOURCE_REF, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			ResourceRef.class);
		this.createProperty("resource-env-ref", 	// NOI18N
			RESOURCE_ENV_REF, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			ResourceEnvRef.class);
		this.createProperty("service-ref", 	// NOI18N
			SERVICE_REF, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			ServiceRef.class);
		this.createProperty("pass-by-reference", 	// NOI18N
			PASS_BY_REFERENCE, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("cmp", 	// NOI18N
			CMP, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			Cmp.class);
		this.createProperty("principal", 	// NOI18N
			PRINCIPAL, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			Principal.class);
		this.createProperty("mdb-connection-factory", 	// NOI18N
			MDB_CONNECTION_FACTORY, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			MdbConnectionFactory.class);
		this.createProperty("jms-durable-subscription-name", 	// NOI18N
			JMS_DURABLE_SUBSCRIPTION_NAME, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("jms-max-messages-load", 	// NOI18N
			JMS_MAX_MESSAGES_LOAD, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("ior-security-config", 	// NOI18N
			IOR_SECURITY_CONFIG, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			IorSecurityConfig.class);
		this.createProperty("is-read-only-bean", 	// NOI18N
			IS_READ_ONLY_BEAN, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("refresh-period-in-seconds", 	// NOI18N
			REFRESH_PERIOD_IN_SECONDS, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("commit-option", 	// NOI18N
			COMMIT_OPTION, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("cmt-timeout-in-seconds", 	// NOI18N
			CMT_TIMEOUT_IN_SECONDS, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("use-thread-pool-id", 	// NOI18N
			USE_THREAD_POOL_ID, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("gen-classes", 	// NOI18N
			GEN_CLASSES, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			GenClasses.class);
		this.createProperty("bean-pool", 	// NOI18N
			BEAN_POOL, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			BeanPool.class);
		this.createProperty("bean-cache", 	// NOI18N
			BEAN_CACHE, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			BeanCache.class);
		this.createProperty("mdb-resource-adapter", 	// NOI18N
			MDB_RESOURCE_ADAPTER, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			MdbResourceAdapter.class);
		this.createProperty("webservice-endpoint", 	// NOI18N
			WEBSERVICE_ENDPOINT, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			WebserviceEndpoint.class);
		this.createProperty("flush-at-end-of-method", 	// NOI18N
			FLUSH_AT_END_OF_METHOD, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			FlushAtEndOfMethod.class);
		this.createProperty("checkpointed-methods", 	// NOI18N
			CHECKPOINTED_METHODS, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("checkpoint-at-end-of-method", 	// NOI18N
			CHECKPOINT_AT_END_OF_METHOD, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			CheckpointAtEndOfMethod.class);
		this.initialize(options);
	
Methods Summary
public static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public intaddEjbRef(com.sun.enterprise.tools.common.dd.EjbRef value)

		return this.addValue(EJB_REF, value);
	
public intaddResourceEnvRef(com.sun.enterprise.tools.common.dd.ResourceEnvRef value)

		return this.addValue(RESOURCE_ENV_REF, value);
	
public intaddResourceRef(com.sun.enterprise.tools.common.dd.ResourceRef value)

		return this.addValue(RESOURCE_REF, value);
	
public intaddServiceRef(com.sun.enterprise.tools.common.dd.ServiceRef value)

		return this.addValue(SERVICE_REF, value);
	
public intaddWebserviceEndpoint(com.sun.enterprise.tools.common.dd.WebserviceEndpoint value)

		return this.addValue(WEBSERVICE_ENDPOINT, value);
	
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("EjbName");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getEjbName();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(EJB_NAME, 0, str, indent);

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

		str.append(indent);
		str.append("EjbRef["+this.sizeEjbRef()+"]");	// NOI18N
		for(int i=0; i<this.sizeEjbRef(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getEjbRef(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(EJB_REF, i, str, indent);
		}

		str.append(indent);
		str.append("ResourceRef["+this.sizeResourceRef()+"]");	// NOI18N
		for(int i=0; i<this.sizeResourceRef(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getResourceRef(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(RESOURCE_REF, i, str, indent);
		}

		str.append(indent);
		str.append("ResourceEnvRef["+this.sizeResourceEnvRef()+"]");	// NOI18N
		for(int i=0; i<this.sizeResourceEnvRef(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getResourceEnvRef(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(RESOURCE_ENV_REF, i, str, indent);
		}

		str.append(indent);
		str.append("ServiceRef["+this.sizeServiceRef()+"]");	// NOI18N
		for(int i=0; i<this.sizeServiceRef(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getServiceRef(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(SERVICE_REF, i, str, indent);
		}

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

		str.append(indent);
		str.append("Cmp");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getCmp();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(CMP, 0, str, indent);

		str.append(indent);
		str.append("Principal");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getPrincipal();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(PRINCIPAL, 0, str, indent);

		str.append(indent);
		str.append("MdbConnectionFactory");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getMdbConnectionFactory();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(MDB_CONNECTION_FACTORY, 0, str, indent);

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

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

		str.append(indent);
		str.append("IorSecurityConfig");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getIorSecurityConfig();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(IOR_SECURITY_CONFIG, 0, str, indent);

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

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

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

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

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

		str.append(indent);
		str.append("GenClasses");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getGenClasses();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(GEN_CLASSES, 0, str, indent);

		str.append(indent);
		str.append("BeanPool");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getBeanPool();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(BEAN_POOL, 0, str, indent);

		str.append(indent);
		str.append("BeanCache");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getBeanCache();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(BEAN_CACHE, 0, str, indent);

		str.append(indent);
		str.append("MdbResourceAdapter");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getMdbResourceAdapter();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(MDB_RESOURCE_ADAPTER, 0, str, indent);

		str.append(indent);
		str.append("WebserviceEndpoint["+this.sizeWebserviceEndpoint()+"]");	// NOI18N
		for(int i=0; i<this.sizeWebserviceEndpoint(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getWebserviceEndpoint(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(WEBSERVICE_ENDPOINT, i, str, indent);
		}

		str.append(indent);
		str.append("FlushAtEndOfMethod");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getFlushAtEndOfMethod();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(FLUSH_AT_END_OF_METHOD, 0, str, indent);

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

		str.append(indent);
		str.append("CheckpointAtEndOfMethod");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getCheckpointAtEndOfMethod();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(CHECKPOINT_AT_END_OF_METHOD, 0, str, indent);

	
public java.lang.StringdumpBeanNode()

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

		return getAttributeValue(AVAILABILITYENABLED);
	
public BeanCachegetBeanCache()

		return (BeanCache)this.getValue(BEAN_CACHE);
	
public BeanPoolgetBeanPool()

		return (BeanPool)this.getValue(BEAN_POOL);
	
public CheckpointAtEndOfMethodgetCheckpointAtEndOfMethod()

		return (CheckpointAtEndOfMethod)this.getValue(CHECKPOINT_AT_END_OF_METHOD);
	
public java.lang.StringgetCheckpointedMethods()

		return (String)this.getValue(CHECKPOINTED_METHODS);
	
public CmpgetCmp()

		return (Cmp)this.getValue(CMP);
	
public java.lang.StringgetCmtTimeoutInSeconds()

		return (String)this.getValue(CMT_TIMEOUT_IN_SECONDS);
	
public java.lang.StringgetCommitOption()

		return (String)this.getValue(COMMIT_OPTION);
	
public java.lang.StringgetEjbName()

		return (String)this.getValue(EJB_NAME);
	
public com.sun.enterprise.tools.common.dd.EjbRefgetEjbRef(int index)

		return (EjbRef)this.getValue(EJB_REF, index);
	
public com.sun.enterprise.tools.common.dd.EjbRef[]getEjbRef()

		return (EjbRef[])this.getValues(EJB_REF);
	
public FlushAtEndOfMethodgetFlushAtEndOfMethod()

		return (FlushAtEndOfMethod)this.getValue(FLUSH_AT_END_OF_METHOD);
	
public GenClassesgetGenClasses()

		return (GenClasses)this.getValue(GEN_CLASSES);
	
public IorSecurityConfiggetIorSecurityConfig()

		return (IorSecurityConfig)this.getValue(IOR_SECURITY_CONFIG);
	
public java.lang.StringgetIsReadOnlyBean()

		return (String)this.getValue(IS_READ_ONLY_BEAN);
	
public java.lang.StringgetJmsDurableSubscriptionName()

		return (String)this.getValue(JMS_DURABLE_SUBSCRIPTION_NAME);
	
public java.lang.StringgetJmsMaxMessagesLoad()

		return (String)this.getValue(JMS_MAX_MESSAGES_LOAD);
	
public java.lang.StringgetJndiName()

		return (String)this.getValue(JNDI_NAME);
	
public MdbConnectionFactorygetMdbConnectionFactory()

		return (MdbConnectionFactory)this.getValue(MDB_CONNECTION_FACTORY);
	
public MdbResourceAdaptergetMdbResourceAdapter()

		return (MdbResourceAdapter)this.getValue(MDB_RESOURCE_ADAPTER);
	
public java.lang.StringgetPassByReference()

		return (String)this.getValue(PASS_BY_REFERENCE);
	
public PrincipalgetPrincipal()

		return (Principal)this.getValue(PRINCIPAL);
	
public java.lang.StringgetRefreshPeriodInSeconds()

		return (String)this.getValue(REFRESH_PERIOD_IN_SECONDS);
	
public com.sun.enterprise.tools.common.dd.ResourceEnvRefgetResourceEnvRef(int index)

		return (ResourceEnvRef)this.getValue(RESOURCE_ENV_REF, index);
	
public com.sun.enterprise.tools.common.dd.ResourceEnvRef[]getResourceEnvRef()

		return (ResourceEnvRef[])this.getValues(RESOURCE_ENV_REF);
	
public com.sun.enterprise.tools.common.dd.ResourceRefgetResourceRef(int index)

		return (ResourceRef)this.getValue(RESOURCE_REF, index);
	
public com.sun.enterprise.tools.common.dd.ResourceRef[]getResourceRef()

		return (ResourceRef[])this.getValues(RESOURCE_REF);
	
public com.sun.enterprise.tools.common.dd.ServiceRefgetServiceRef(int index)

		return (ServiceRef)this.getValue(SERVICE_REF, index);
	
public com.sun.enterprise.tools.common.dd.ServiceRef[]getServiceRef()

		return (ServiceRef[])this.getValues(SERVICE_REF);
	
public java.lang.StringgetUseThreadPoolId()

		return (String)this.getValue(USE_THREAD_POOL_ID);
	
public com.sun.enterprise.tools.common.dd.WebserviceEndpointgetWebserviceEndpoint(int index)

		return (WebserviceEndpoint)this.getValue(WEBSERVICE_ENDPOINT, index);
	
public com.sun.enterprise.tools.common.dd.WebserviceEndpoint[]getWebserviceEndpoint()

		return (WebserviceEndpoint[])this.getValues(WEBSERVICE_ENDPOINT);
	
voidinitialize(int options)

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

		comparators.remove(c);
	
public intremoveEjbRef(com.sun.enterprise.tools.common.dd.EjbRef value)

		return this.removeValue(EJB_REF, value);
	
public intremoveResourceEnvRef(com.sun.enterprise.tools.common.dd.ResourceEnvRef value)

		return this.removeValue(RESOURCE_ENV_REF, value);
	
public intremoveResourceRef(com.sun.enterprise.tools.common.dd.ResourceRef value)

		return this.removeValue(RESOURCE_REF, value);
	
public intremoveServiceRef(com.sun.enterprise.tools.common.dd.ServiceRef value)

		return this.removeValue(SERVICE_REF, value);
	
public intremoveWebserviceEndpoint(com.sun.enterprise.tools.common.dd.WebserviceEndpoint value)

		return this.removeValue(WEBSERVICE_ENDPOINT, value);
	
public voidsetAvailabilityEnabled(java.lang.String value)

		setAttributeValue(AVAILABILITYENABLED, value);
	
public voidsetBeanCache(BeanCache value)

		this.setValue(BEAN_CACHE, value);
	
public voidsetBeanPool(BeanPool value)

		this.setValue(BEAN_POOL, value);
	
public voidsetCheckpointAtEndOfMethod(CheckpointAtEndOfMethod value)

		this.setValue(CHECKPOINT_AT_END_OF_METHOD, value);
	
public voidsetCheckpointedMethods(java.lang.String value)

		this.setValue(CHECKPOINTED_METHODS, value);
	
public voidsetCmp(Cmp value)

		this.setValue(CMP, value);
	
public voidsetCmtTimeoutInSeconds(java.lang.String value)

		this.setValue(CMT_TIMEOUT_IN_SECONDS, value);
	
public voidsetCommitOption(java.lang.String value)

		this.setValue(COMMIT_OPTION, value);
	
public voidsetEjbName(java.lang.String value)

		this.setValue(EJB_NAME, value);
	
public voidsetEjbRef(int index, com.sun.enterprise.tools.common.dd.EjbRef value)

		this.setValue(EJB_REF, index, value);
	
public voidsetEjbRef(com.sun.enterprise.tools.common.dd.EjbRef[] value)

		this.setValue(EJB_REF, value);
	
public voidsetFlushAtEndOfMethod(FlushAtEndOfMethod value)

		this.setValue(FLUSH_AT_END_OF_METHOD, value);
	
public voidsetGenClasses(GenClasses value)

		this.setValue(GEN_CLASSES, value);
	
public voidsetIorSecurityConfig(IorSecurityConfig value)

		this.setValue(IOR_SECURITY_CONFIG, value);
	
public voidsetIsReadOnlyBean(java.lang.String value)

		this.setValue(IS_READ_ONLY_BEAN, value);
	
public voidsetJmsDurableSubscriptionName(java.lang.String value)

		this.setValue(JMS_DURABLE_SUBSCRIPTION_NAME, value);
	
public voidsetJmsMaxMessagesLoad(java.lang.String value)

		this.setValue(JMS_MAX_MESSAGES_LOAD, value);
	
public voidsetJndiName(java.lang.String value)

		this.setValue(JNDI_NAME, value);
	
public voidsetMdbConnectionFactory(MdbConnectionFactory value)

		this.setValue(MDB_CONNECTION_FACTORY, value);
	
public voidsetMdbResourceAdapter(MdbResourceAdapter value)

		this.setValue(MDB_RESOURCE_ADAPTER, value);
	
public voidsetPassByReference(java.lang.String value)

		this.setValue(PASS_BY_REFERENCE, value);
	
public voidsetPrincipal(Principal value)

		this.setValue(PRINCIPAL, value);
	
public voidsetRefreshPeriodInSeconds(java.lang.String value)

		this.setValue(REFRESH_PERIOD_IN_SECONDS, value);
	
public voidsetResourceEnvRef(int index, com.sun.enterprise.tools.common.dd.ResourceEnvRef value)

		this.setValue(RESOURCE_ENV_REF, index, value);
	
public voidsetResourceEnvRef(com.sun.enterprise.tools.common.dd.ResourceEnvRef[] value)

		this.setValue(RESOURCE_ENV_REF, value);
	
public voidsetResourceRef(int index, com.sun.enterprise.tools.common.dd.ResourceRef value)

		this.setValue(RESOURCE_REF, index, value);
	
public voidsetResourceRef(com.sun.enterprise.tools.common.dd.ResourceRef[] value)

		this.setValue(RESOURCE_REF, value);
	
public voidsetServiceRef(int index, com.sun.enterprise.tools.common.dd.ServiceRef value)

		this.setValue(SERVICE_REF, index, value);
	
public voidsetServiceRef(com.sun.enterprise.tools.common.dd.ServiceRef[] value)

		this.setValue(SERVICE_REF, value);
	
public voidsetUseThreadPoolId(java.lang.String value)

		this.setValue(USE_THREAD_POOL_ID, value);
	
public voidsetWebserviceEndpoint(int index, com.sun.enterprise.tools.common.dd.WebserviceEndpoint value)

		this.setValue(WEBSERVICE_ENDPOINT, index, value);
	
public voidsetWebserviceEndpoint(com.sun.enterprise.tools.common.dd.WebserviceEndpoint[] value)

		this.setValue(WEBSERVICE_ENDPOINT, value);
	
public intsizeEjbRef()

		return this.size(EJB_REF);
	
public intsizeResourceEnvRef()

		return this.size(RESOURCE_ENV_REF);
	
public intsizeResourceRef()

		return this.size(RESOURCE_REF);
	
public intsizeServiceRef()

		return this.size(SERVICE_REF);
	
public intsizeWebserviceEndpoint()

		return this.size(WEBSERVICE_ENDPOINT);
	
public voidvalidate()

		boolean restrictionFailure = false;
		// Validating property availabilityEnabled
		if (getAvailabilityEnabled() != null) {
		}
		// Validating property ejbName
		if (getEjbName() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getEjbName() == null", "ejbName", this);	// NOI18N
		}
		// Validating property jndiName
		if (getJndiName() != null) {
		}
		// Validating property ejbRef
		for (int _index = 0; _index < sizeEjbRef(); ++_index) {
			EjbRef element = getEjbRef(_index);
			if (element != null) {
				element.validate();
			}
		}
		// Validating property resourceRef
		for (int _index = 0; _index < sizeResourceRef(); ++_index) {
			ResourceRef element = getResourceRef(_index);
			if (element != null) {
				element.validate();
			}
		}
		// Validating property resourceEnvRef
		for (int _index = 0; _index < sizeResourceEnvRef(); ++_index) {
			ResourceEnvRef element = getResourceEnvRef(_index);
			if (element != null) {
				element.validate();
			}
		}
		// Validating property serviceRef
		for (int _index = 0; _index < sizeServiceRef(); ++_index) {
			ServiceRef element = getServiceRef(_index);
			if (element != null) {
				element.validate();
			}
		}
		// Validating property passByReference
		if (getPassByReference() != null) {
		}
		// Validating property cmp
		if (getCmp() != null) {
			getCmp().validate();
		}
		// Validating property principal
		if (getPrincipal() != null) {
			getPrincipal().validate();
		}
		// Validating property mdbConnectionFactory
		if (getMdbConnectionFactory() != null) {
			getMdbConnectionFactory().validate();
		}
		// Validating property jmsDurableSubscriptionName
		if (getJmsDurableSubscriptionName() != null) {
		}
		// Validating property jmsMaxMessagesLoad
		if (getJmsMaxMessagesLoad() != null) {
		}
		// Validating property iorSecurityConfig
		if (getIorSecurityConfig() != null) {
			getIorSecurityConfig().validate();
		}
		// Validating property isReadOnlyBean
		if (getIsReadOnlyBean() != null) {
		}
		// Validating property refreshPeriodInSeconds
		if (getRefreshPeriodInSeconds() != null) {
		}
		// Validating property commitOption
		if (getCommitOption() != null) {
		}
		// Validating property cmtTimeoutInSeconds
		if (getCmtTimeoutInSeconds() != null) {
		}
		// Validating property useThreadPoolId
		if (getUseThreadPoolId() != null) {
		}
		// Validating property genClasses
		if (getGenClasses() != null) {
			getGenClasses().validate();
		}
		// Validating property beanPool
		if (getBeanPool() != null) {
			getBeanPool().validate();
		}
		// Validating property beanCache
		if (getBeanCache() != null) {
			getBeanCache().validate();
		}
		// Validating property mdbResourceAdapter
		if (getMdbResourceAdapter() != null) {
			getMdbResourceAdapter().validate();
		}
		// Validating property webserviceEndpoint
		for (int _index = 0; _index < sizeWebserviceEndpoint(); ++_index) {
			WebserviceEndpoint element = getWebserviceEndpoint(_index);
			if (element != null) {
				element.validate();
			}
		}
		// Validating property flushAtEndOfMethod
		if (getFlushAtEndOfMethod() != null) {
			getFlushAtEndOfMethod().validate();
		}
		// Validating property checkpointedMethods
		if (getCheckpointedMethods() != null) {
		}
		// Validating property checkpointAtEndOfMethod
		if (getCheckpointAtEndOfMethod() != null) {
			getCheckpointAtEndOfMethod().validate();
		}