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

TransportConfig

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

Fields Summary
static Vector
comparators
public static final String
INTEGRITY
public static final String
CONFIDENTIALITY
public static final String
ESTABLISH_TRUST_IN_TARGET
public static final String
ESTABLISH_TRUST_IN_CLIENT
Constructors Summary
public TransportConfig()

	// NOI18N

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

		super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
		// Properties (see root bean comments for the bean graph)
		this.createProperty("integrity", 	// NOI18N
			INTEGRITY, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("confidentiality", 	// NOI18N
			CONFIDENTIALITY, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("establish-trust-in-target", 	// NOI18N
			ESTABLISH_TRUST_IN_TARGET, 
			Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.createProperty("establish-trust-in-client", 	// NOI18N
			ESTABLISH_TRUST_IN_CLIENT, 
			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("Integrity");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getIntegrity();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(INTEGRITY, 0, str, indent);

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

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

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

	
public java.lang.StringdumpBeanNode()

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

		return (String)this.getValue(CONFIDENTIALITY);
	
public java.lang.StringgetEstablishTrustInClient()

		return (String)this.getValue(ESTABLISH_TRUST_IN_CLIENT);
	
public java.lang.StringgetEstablishTrustInTarget()

		return (String)this.getValue(ESTABLISH_TRUST_IN_TARGET);
	
public java.lang.StringgetIntegrity()

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

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

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

		this.setValue(CONFIDENTIALITY, value);
	
public voidsetEstablishTrustInClient(java.lang.String value)

		this.setValue(ESTABLISH_TRUST_IN_CLIENT, value);
	
public voidsetEstablishTrustInTarget(java.lang.String value)

		this.setValue(ESTABLISH_TRUST_IN_TARGET, value);
	
public voidsetIntegrity(java.lang.String value)

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

		boolean restrictionFailure = false;
		// Validating property integrity
		if (getIntegrity() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getIntegrity() == null", "integrity", this);	// NOI18N
		}
		// Validating property confidentiality
		if (getConfidentiality() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getConfidentiality() == null", "confidentiality", this);	// NOI18N
		}
		// Validating property establishTrustInTarget
		if (getEstablishTrustInTarget() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getEstablishTrustInTarget() == null", "establishTrustInTarget", this);	// NOI18N
		}
		// Validating property establishTrustInClient
		if (getEstablishTrustInClient() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getEstablishTrustInClient() == null", "establishTrustInClient", this);	// NOI18N
		}