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

IorSecurityConfig

public class IorSecurityConfig extends com.sun.enterprise.tools.common.dd.SunBaseBean
This generated bean class IorSecurityConfig matches the schema element ior-security-config Generated on Wed Aug 13 10:43:33 PDT 2003

Fields Summary
static Vector
comparators
public static final String
TRANSPORT_CONFIG
public static final String
AS_CONTEXT
public static final String
SAS_CONTEXT
Constructors Summary
public IorSecurityConfig()

	// NOI18N

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

		super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
		// Properties (see root bean comments for the bean graph)
		this.createProperty("transport-config", 	// NOI18N
			TRANSPORT_CONFIG, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			TransportConfig.class);
		this.createProperty("as-context", 	// NOI18N
			AS_CONTEXT, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			AsContext.class);
		this.createProperty("sas-context", 	// NOI18N
			SAS_CONTEXT, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			SasContext.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("TransportConfig");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getTransportConfig();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(TRANSPORT_CONFIG, 0, str, indent);

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

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

	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("IorSecurityConfig\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public AsContextgetAsContext()

		return (AsContext)this.getValue(AS_CONTEXT);
	
public SasContextgetSasContext()

		return (SasContext)this.getValue(SAS_CONTEXT);
	
public TransportConfiggetTransportConfig()

		return (TransportConfig)this.getValue(TRANSPORT_CONFIG);
	
voidinitialize(int options)


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

		comparators.remove(c);
	
public voidsetAsContext(AsContext value)

		this.setValue(AS_CONTEXT, value);
	
public voidsetSasContext(SasContext value)

		this.setValue(SAS_CONTEXT, value);
	
public voidsetTransportConfig(TransportConfig value)

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

		boolean restrictionFailure = false;
		// Validating property transportConfig
		if (getTransportConfig() != null) {
			getTransportConfig().validate();
		}
		// Validating property asContext
		if (getAsContext() != null) {
			getAsContext().validate();
		}
		// Validating property sasContext
		if (getSasContext() != null) {
			getSasContext().validate();
		}