FileDocCategorySizeDatePackage
CertDb.javaAPI DocGlassfish v2 API5480Fri May 04 22:31:18 BST 2007com.sun.enterprise.config.clientbeans

CertDb

public class CertDb extends com.sun.enterprise.config.ConfigBean implements Serializable
This generated bean class CertDb matches the DTD element cert-db

Fields Summary
static Vector
comparators
private static final org.netbeans.modules.schema2beans.Version
runtimeVersion
Constructors Summary
public CertDb()



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

		super(comparators, runtimeVersion);
		// Properties (see root bean comments for the bean graph)
		initPropertyTables(0);
		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;
	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("CertDb\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public static java.lang.StringgetDefaultAttributeValue(java.lang.String attr)

		if(attr == null) return null;
		attr = attr.trim();
	return null;
	
public java.lang.StringgetPassword()
Getter for Password of the Element cert-db

return
the Password of the Element cert-db

		return getAttributeValue(ClientTags.PASSWORD);
	
public java.lang.StringgetPath()
Getter for Path of the Element cert-db

return
the Path of the Element cert-db

		return getAttributeValue(ClientTags.PATH);
	
protected java.lang.StringgetRelativeXPath()
get the xpath representation for this element returns something like abc[@name='value'] or abc depending on the type of the bean

	    String ret = null;
	    ret = "cert-db";
	    return (null != ret ? ret.trim() : null);
	
voidinitialize(int options)


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

		comparators.remove(c);
	
public voidsetPassword(java.lang.String v, boolean overwrite)
Modify the Password of the Element cert-db

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ClientTags.PASSWORD, v, overwrite);
	
public voidsetPassword(java.lang.String v)
Modify the Password of the Element cert-db

param
v the new value

		setAttributeValue(ClientTags.PASSWORD, v);
	
public voidsetPath(java.lang.String v, boolean overwrite)
Modify the Path of the Element cert-db

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ClientTags.PATH, v, overwrite);
	
public voidsetPath(java.lang.String v)
Modify the Path of the Element cert-db

param
v the new value

		setAttributeValue(ClientTags.PATH, v);
	
public voidvalidate()