TransportConfigpublic 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 void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
| public void | dump(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.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("TransportConfig\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public java.lang.String | getConfidentiality()
return (String)this.getValue(CONFIDENTIALITY);
| public java.lang.String | getEstablishTrustInClient()
return (String)this.getValue(ESTABLISH_TRUST_IN_CLIENT);
| public java.lang.String | getEstablishTrustInTarget()
return (String)this.getValue(ESTABLISH_TRUST_IN_TARGET);
| public java.lang.String | getIntegrity()
return (String)this.getValue(INTEGRITY);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public void | setConfidentiality(java.lang.String value)
this.setValue(CONFIDENTIALITY, value);
| public void | setEstablishTrustInClient(java.lang.String value)
this.setValue(ESTABLISH_TRUST_IN_CLIENT, value);
| public void | setEstablishTrustInTarget(java.lang.String value)
this.setValue(ESTABLISH_TRUST_IN_TARGET, value);
| public void | setIntegrity(java.lang.String value)
this.setValue(INTEGRITY, value);
| public void | validate()
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
}
|
|