Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
|
public int | addElementProperty(ElementProperty value)
return addElementProperty(value, true);
|
public int | addElementProperty(ElementProperty value, boolean overwrite)
ElementProperty old = getElementPropertyByName(value.getName());
if(old != null) {
throw new ConfigException(StringManager.getManager(ModuleLogLevels.class).getString("cannotAddDuplicate", "ElementProperty"));
}
return this.addValue(ELEMENT_PROPERTY, value, overwrite);
|
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("ElementProperty["+this.sizeElementProperty()+"]"); // NOI18N
for(int i=0; i<this.sizeElementProperty(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
n = (org.netbeans.modules.schema2beans.BaseBean) this.getElementProperty(i);
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(ELEMENT_PROPERTY, i, str, indent);
}
|
public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("ModuleLogLevels\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
|
public java.lang.String | getAdmin()Getter for Admin of the Element module-log-levels
return getAttributeValue(ServerTags.ADMIN);
|
public java.lang.String | getClassloader()Getter for Classloader of the Element module-log-levels
return getAttributeValue(ServerTags.CLASSLOADER);
|
public java.lang.String | getCmp()Getter for Cmp of the Element module-log-levels
return getAttributeValue(ServerTags.CMP);
|
public java.lang.String | getCmpContainer()Getter for CmpContainer of the Element module-log-levels
return getAttributeValue(ServerTags.CMP_CONTAINER);
|
public java.lang.String | getConfiguration()Getter for Configuration of the Element module-log-levels
return getAttributeValue(ServerTags.CONFIGURATION);
|
public java.lang.String | getConnector()Getter for Connector of the Element module-log-levels
return getAttributeValue(ServerTags.CONNECTOR);
|
public java.lang.String | getCorba()Getter for Corba of the Element module-log-levels
return getAttributeValue(ServerTags.CORBA);
|
public static java.lang.String | getDefaultAdmin()Get the default value of Admin from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultAttributeValue(java.lang.String attr)
if(attr == null) return null;
attr = attr.trim();
if(attr.equals(ServerTags.ROOT)) return "INFO".trim();
if(attr.equals(ServerTags.SERVER)) return "INFO".trim();
if(attr.equals(ServerTags.EJB_CONTAINER)) return "INFO".trim();
if(attr.equals(ServerTags.CMP_CONTAINER)) return "INFO".trim();
if(attr.equals(ServerTags.MDB_CONTAINER)) return "INFO".trim();
if(attr.equals(ServerTags.WEB_CONTAINER)) return "INFO".trim();
if(attr.equals(ServerTags.CLASSLOADER)) return "INFO".trim();
if(attr.equals(ServerTags.CONFIGURATION)) return "INFO".trim();
if(attr.equals(ServerTags.NAMING)) return "INFO".trim();
if(attr.equals(ServerTags.SECURITY)) return "INFO".trim();
if(attr.equals(ServerTags.JTS)) return "INFO".trim();
if(attr.equals(ServerTags.JTA)) return "INFO".trim();
if(attr.equals(ServerTags.ADMIN)) return "INFO".trim();
if(attr.equals(ServerTags.DEPLOYMENT)) return "INFO".trim();
if(attr.equals(ServerTags.VERIFIER)) return "INFO".trim();
if(attr.equals(ServerTags.JAXR)) return "INFO".trim();
if(attr.equals(ServerTags.JAXRPC)) return "INFO".trim();
if(attr.equals(ServerTags.SAAJ)) return "INFO".trim();
if(attr.equals(ServerTags.CORBA)) return "INFO".trim();
if(attr.equals(ServerTags.JAVAMAIL)) return "INFO".trim();
if(attr.equals(ServerTags.JMS)) return "INFO".trim();
if(attr.equals(ServerTags.CONNECTOR)) return "INFO".trim();
if(attr.equals(ServerTags.JDO)) return "INFO".trim();
if(attr.equals(ServerTags.CMP)) return "INFO".trim();
if(attr.equals(ServerTags.UTIL)) return "INFO".trim();
if(attr.equals(ServerTags.RESOURCE_ADAPTER)) return "INFO".trim();
if(attr.equals(ServerTags.SYNCHRONIZATION)) return "INFO".trim();
if(attr.equals(ServerTags.NODE_AGENT)) return "INFO".trim();
if(attr.equals(ServerTags.SELF_MANAGEMENT)) return "INFO".trim();
if(attr.equals(ServerTags.GROUP_MANAGEMENT_SERVICE)) return "INFO".trim();
if(attr.equals(ServerTags.MANAGEMENT_EVENT)) return "INFO".trim();
return null;
|
public static java.lang.String | getDefaultClassloader()Get the default value of Classloader from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultCmp()Get the default value of Cmp from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultCmpContainer()Get the default value of CmpContainer from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultConfiguration()Get the default value of Configuration from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultConnector()Get the default value of Connector from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultCorba()Get the default value of Corba from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultDeployment()Get the default value of Deployment from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultEjbContainer()Get the default value of EjbContainer from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultGroupManagementService()Get the default value of GroupManagementService from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultJavamail()Get the default value of Javamail from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultJaxr()Get the default value of Jaxr from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultJaxrpc()Get the default value of Jaxrpc from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultJdo()Get the default value of Jdo from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultJms()Get the default value of Jms from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultJta()Get the default value of Jta from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultJts()Get the default value of Jts from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultManagementEvent()Get the default value of ManagementEvent from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultMdbContainer()Get the default value of MdbContainer from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultNaming()Get the default value of Naming from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultNodeAgent()Get the default value of NodeAgent from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultResourceAdapter()Get the default value of ResourceAdapter from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultRoot()Get the default value of Root from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultSaaj()Get the default value of Saaj from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultSecurity()Get the default value of Security from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultSelfManagement()Get the default value of SelfManagement from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultServer()Get the default value of Server from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultSynchronization()Get the default value of Synchronization from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultUtil()Get the default value of Util from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultVerifier()Get the default value of Verifier from dtd
return "INFO".trim();
|
public static java.lang.String | getDefaultWebContainer()Get the default value of WebContainer from dtd
return "INFO".trim();
|
public java.lang.String | getDeployment()Getter for Deployment of the Element module-log-levels
return getAttributeValue(ServerTags.DEPLOYMENT);
|
public java.lang.String | getEjbContainer()Getter for EjbContainer of the Element module-log-levels
return getAttributeValue(ServerTags.EJB_CONTAINER);
|
public ElementProperty | getElementProperty(int index)
return (ElementProperty)this.getValue(ELEMENT_PROPERTY, index);
|
public ElementProperty[] | getElementProperty()
return (ElementProperty[])this.getValues(ELEMENT_PROPERTY);
|
public ElementProperty | getElementPropertyByName(java.lang.String id)
if (null != id) { id = id.trim(); }
ElementProperty[] o = getElementProperty();
if (o == null) return null;
for (int i=0; i < o.length; i++) {
if(o[i].getAttributeValue(Common.convertName(ServerTags.NAME)).equals(id)) {
return o[i];
}
}
return null;
|
public java.lang.String | getGroupManagementService()Getter for GroupManagementService of the Element module-log-levels
return getAttributeValue(ServerTags.GROUP_MANAGEMENT_SERVICE);
|
public java.lang.String | getJavamail()Getter for Javamail of the Element module-log-levels
return getAttributeValue(ServerTags.JAVAMAIL);
|
public java.lang.String | getJaxr()Getter for Jaxr of the Element module-log-levels
return getAttributeValue(ServerTags.JAXR);
|
public java.lang.String | getJaxrpc()Getter for Jaxrpc of the Element module-log-levels
return getAttributeValue(ServerTags.JAXRPC);
|
public java.lang.String | getJdo()Getter for Jdo of the Element module-log-levels
return getAttributeValue(ServerTags.JDO);
|
public java.lang.String | getJms()Getter for Jms of the Element module-log-levels
return getAttributeValue(ServerTags.JMS);
|
public java.lang.String | getJta()Getter for Jta of the Element module-log-levels
return getAttributeValue(ServerTags.JTA);
|
public java.lang.String | getJts()Getter for Jts of the Element module-log-levels
return getAttributeValue(ServerTags.JTS);
|
public java.lang.String | getManagementEvent()Getter for ManagementEvent of the Element module-log-levels
return getAttributeValue(ServerTags.MANAGEMENT_EVENT);
|
public java.lang.String | getMdbContainer()Getter for MdbContainer of the Element module-log-levels
return getAttributeValue(ServerTags.MDB_CONTAINER);
|
public java.lang.String | getNaming()Getter for Naming of the Element module-log-levels
return getAttributeValue(ServerTags.NAMING);
|
public java.lang.String | getNodeAgent()Getter for NodeAgent of the Element module-log-levels
return getAttributeValue(ServerTags.NODE_AGENT);
|
protected java.lang.String | getRelativeXPath()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 = "module-log-levels";
return (null != ret ? ret.trim() : null);
|
public java.lang.String | getResourceAdapter()Getter for ResourceAdapter of the Element module-log-levels
return getAttributeValue(ServerTags.RESOURCE_ADAPTER);
|
public java.lang.String | getRoot()Getter for Root of the Element module-log-levels
return getAttributeValue(ServerTags.ROOT);
|
public java.lang.String | getSaaj()Getter for Saaj of the Element module-log-levels
return getAttributeValue(ServerTags.SAAJ);
|
public java.lang.String | getSecurity()Getter for Security of the Element module-log-levels
return getAttributeValue(ServerTags.SECURITY);
|
public java.lang.String | getSelfManagement()Getter for SelfManagement of the Element module-log-levels
return getAttributeValue(ServerTags.SELF_MANAGEMENT);
|
public java.lang.String | getServer()Getter for Server of the Element module-log-levels
return getAttributeValue(ServerTags.SERVER);
|
public java.lang.String | getSynchronization()Getter for Synchronization of the Element module-log-levels
return getAttributeValue(ServerTags.SYNCHRONIZATION);
|
public java.lang.String | getUtil()Getter for Util of the Element module-log-levels
return getAttributeValue(ServerTags.UTIL);
|
public java.lang.String | getVerifier()Getter for Verifier of the Element module-log-levels
return getAttributeValue(ServerTags.VERIFIER);
|
public java.lang.String | getWebContainer()Getter for WebContainer of the Element module-log-levels
return getAttributeValue(ServerTags.WEB_CONTAINER);
|
void | initialize(int options)
|
public ElementProperty | newElementProperty()Create a new bean using it's default constructor.
This does not add it to any bean graph.
return new ElementProperty();
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public int | removeElementProperty(ElementProperty value)
return this.removeValue(ELEMENT_PROPERTY, value);
|
public int | removeElementProperty(ElementProperty value, boolean overwrite)
return this.removeValue(ELEMENT_PROPERTY, value, overwrite);
|
public void | setAdmin(java.lang.String v, boolean overwrite)Modify the Admin of the Element module-log-levels
setAttributeValue(ServerTags.ADMIN, v, overwrite);
|
public void | setAdmin(java.lang.String v)Modify the Admin of the Element module-log-levels
setAttributeValue(ServerTags.ADMIN, v);
|
public void | setClassloader(java.lang.String v, boolean overwrite)Modify the Classloader of the Element module-log-levels
setAttributeValue(ServerTags.CLASSLOADER, v, overwrite);
|
public void | setClassloader(java.lang.String v)Modify the Classloader of the Element module-log-levels
setAttributeValue(ServerTags.CLASSLOADER, v);
|
public void | setCmp(java.lang.String v, boolean overwrite)Modify the Cmp of the Element module-log-levels
setAttributeValue(ServerTags.CMP, v, overwrite);
|
public void | setCmp(java.lang.String v)Modify the Cmp of the Element module-log-levels
setAttributeValue(ServerTags.CMP, v);
|
public void | setCmpContainer(java.lang.String v, boolean overwrite)Modify the CmpContainer of the Element module-log-levels
setAttributeValue(ServerTags.CMP_CONTAINER, v, overwrite);
|
public void | setCmpContainer(java.lang.String v)Modify the CmpContainer of the Element module-log-levels
setAttributeValue(ServerTags.CMP_CONTAINER, v);
|
public void | setConfiguration(java.lang.String v, boolean overwrite)Modify the Configuration of the Element module-log-levels
setAttributeValue(ServerTags.CONFIGURATION, v, overwrite);
|
public void | setConfiguration(java.lang.String v)Modify the Configuration of the Element module-log-levels
setAttributeValue(ServerTags.CONFIGURATION, v);
|
public void | setConnector(java.lang.String v, boolean overwrite)Modify the Connector of the Element module-log-levels
setAttributeValue(ServerTags.CONNECTOR, v, overwrite);
|
public void | setConnector(java.lang.String v)Modify the Connector of the Element module-log-levels
setAttributeValue(ServerTags.CONNECTOR, v);
|
public void | setCorba(java.lang.String v, boolean overwrite)Modify the Corba of the Element module-log-levels
setAttributeValue(ServerTags.CORBA, v, overwrite);
|
public void | setCorba(java.lang.String v)Modify the Corba of the Element module-log-levels
setAttributeValue(ServerTags.CORBA, v);
|
public void | setDeployment(java.lang.String v, boolean overwrite)Modify the Deployment of the Element module-log-levels
setAttributeValue(ServerTags.DEPLOYMENT, v, overwrite);
|
public void | setDeployment(java.lang.String v)Modify the Deployment of the Element module-log-levels
setAttributeValue(ServerTags.DEPLOYMENT, v);
|
public void | setEjbContainer(java.lang.String v, boolean overwrite)Modify the EjbContainer of the Element module-log-levels
setAttributeValue(ServerTags.EJB_CONTAINER, v, overwrite);
|
public void | setEjbContainer(java.lang.String v)Modify the EjbContainer of the Element module-log-levels
setAttributeValue(ServerTags.EJB_CONTAINER, v);
|
public void | setElementProperty(ElementProperty[] value)
this.setValue(ELEMENT_PROPERTY, value);
|
public void | setGroupManagementService(java.lang.String v, boolean overwrite)Modify the GroupManagementService of the Element module-log-levels
setAttributeValue(ServerTags.GROUP_MANAGEMENT_SERVICE, v, overwrite);
|
public void | setGroupManagementService(java.lang.String v)Modify the GroupManagementService of the Element module-log-levels
setAttributeValue(ServerTags.GROUP_MANAGEMENT_SERVICE, v);
|
public void | setJavamail(java.lang.String v, boolean overwrite)Modify the Javamail of the Element module-log-levels
setAttributeValue(ServerTags.JAVAMAIL, v, overwrite);
|
public void | setJavamail(java.lang.String v)Modify the Javamail of the Element module-log-levels
setAttributeValue(ServerTags.JAVAMAIL, v);
|
public void | setJaxr(java.lang.String v, boolean overwrite)Modify the Jaxr of the Element module-log-levels
setAttributeValue(ServerTags.JAXR, v, overwrite);
|
public void | setJaxr(java.lang.String v)Modify the Jaxr of the Element module-log-levels
setAttributeValue(ServerTags.JAXR, v);
|
public void | setJaxrpc(java.lang.String v, boolean overwrite)Modify the Jaxrpc of the Element module-log-levels
setAttributeValue(ServerTags.JAXRPC, v, overwrite);
|
public void | setJaxrpc(java.lang.String v)Modify the Jaxrpc of the Element module-log-levels
setAttributeValue(ServerTags.JAXRPC, v);
|
public void | setJdo(java.lang.String v, boolean overwrite)Modify the Jdo of the Element module-log-levels
setAttributeValue(ServerTags.JDO, v, overwrite);
|
public void | setJdo(java.lang.String v)Modify the Jdo of the Element module-log-levels
setAttributeValue(ServerTags.JDO, v);
|
public void | setJms(java.lang.String v, boolean overwrite)Modify the Jms of the Element module-log-levels
setAttributeValue(ServerTags.JMS, v, overwrite);
|
public void | setJms(java.lang.String v)Modify the Jms of the Element module-log-levels
setAttributeValue(ServerTags.JMS, v);
|
public void | setJta(java.lang.String v, boolean overwrite)Modify the Jta of the Element module-log-levels
setAttributeValue(ServerTags.JTA, v, overwrite);
|
public void | setJta(java.lang.String v)Modify the Jta of the Element module-log-levels
setAttributeValue(ServerTags.JTA, v);
|
public void | setJts(java.lang.String v, boolean overwrite)Modify the Jts of the Element module-log-levels
setAttributeValue(ServerTags.JTS, v, overwrite);
|
public void | setJts(java.lang.String v)Modify the Jts of the Element module-log-levels
setAttributeValue(ServerTags.JTS, v);
|
public void | setManagementEvent(java.lang.String v, boolean overwrite)Modify the ManagementEvent of the Element module-log-levels
setAttributeValue(ServerTags.MANAGEMENT_EVENT, v, overwrite);
|
public void | setManagementEvent(java.lang.String v)Modify the ManagementEvent of the Element module-log-levels
setAttributeValue(ServerTags.MANAGEMENT_EVENT, v);
|
public void | setMdbContainer(java.lang.String v, boolean overwrite)Modify the MdbContainer of the Element module-log-levels
setAttributeValue(ServerTags.MDB_CONTAINER, v, overwrite);
|
public void | setMdbContainer(java.lang.String v)Modify the MdbContainer of the Element module-log-levels
setAttributeValue(ServerTags.MDB_CONTAINER, v);
|
public void | setNaming(java.lang.String v, boolean overwrite)Modify the Naming of the Element module-log-levels
setAttributeValue(ServerTags.NAMING, v, overwrite);
|
public void | setNaming(java.lang.String v)Modify the Naming of the Element module-log-levels
setAttributeValue(ServerTags.NAMING, v);
|
public void | setNodeAgent(java.lang.String v, boolean overwrite)Modify the NodeAgent of the Element module-log-levels
setAttributeValue(ServerTags.NODE_AGENT, v, overwrite);
|
public void | setNodeAgent(java.lang.String v)Modify the NodeAgent of the Element module-log-levels
setAttributeValue(ServerTags.NODE_AGENT, v);
|
public void | setResourceAdapter(java.lang.String v, boolean overwrite)Modify the ResourceAdapter of the Element module-log-levels
setAttributeValue(ServerTags.RESOURCE_ADAPTER, v, overwrite);
|
public void | setResourceAdapter(java.lang.String v)Modify the ResourceAdapter of the Element module-log-levels
setAttributeValue(ServerTags.RESOURCE_ADAPTER, v);
|
public void | setRoot(java.lang.String v, boolean overwrite)Modify the Root of the Element module-log-levels
setAttributeValue(ServerTags.ROOT, v, overwrite);
|
public void | setRoot(java.lang.String v)Modify the Root of the Element module-log-levels
setAttributeValue(ServerTags.ROOT, v);
|
public void | setSaaj(java.lang.String v, boolean overwrite)Modify the Saaj of the Element module-log-levels
setAttributeValue(ServerTags.SAAJ, v, overwrite);
|
public void | setSaaj(java.lang.String v)Modify the Saaj of the Element module-log-levels
setAttributeValue(ServerTags.SAAJ, v);
|
public void | setSecurity(java.lang.String v, boolean overwrite)Modify the Security of the Element module-log-levels
setAttributeValue(ServerTags.SECURITY, v, overwrite);
|
public void | setSecurity(java.lang.String v)Modify the Security of the Element module-log-levels
setAttributeValue(ServerTags.SECURITY, v);
|
public void | setSelfManagement(java.lang.String v, boolean overwrite)Modify the SelfManagement of the Element module-log-levels
setAttributeValue(ServerTags.SELF_MANAGEMENT, v, overwrite);
|
public void | setSelfManagement(java.lang.String v)Modify the SelfManagement of the Element module-log-levels
setAttributeValue(ServerTags.SELF_MANAGEMENT, v);
|
public void | setServer(java.lang.String v, boolean overwrite)Modify the Server of the Element module-log-levels
setAttributeValue(ServerTags.SERVER, v, overwrite);
|
public void | setServer(java.lang.String v)Modify the Server of the Element module-log-levels
setAttributeValue(ServerTags.SERVER, v);
|
public void | setSynchronization(java.lang.String v, boolean overwrite)Modify the Synchronization of the Element module-log-levels
setAttributeValue(ServerTags.SYNCHRONIZATION, v, overwrite);
|
public void | setSynchronization(java.lang.String v)Modify the Synchronization of the Element module-log-levels
setAttributeValue(ServerTags.SYNCHRONIZATION, v);
|
public void | setUtil(java.lang.String v, boolean overwrite)Modify the Util of the Element module-log-levels
setAttributeValue(ServerTags.UTIL, v, overwrite);
|
public void | setUtil(java.lang.String v)Modify the Util of the Element module-log-levels
setAttributeValue(ServerTags.UTIL, v);
|
public void | setVerifier(java.lang.String v, boolean overwrite)Modify the Verifier of the Element module-log-levels
setAttributeValue(ServerTags.VERIFIER, v, overwrite);
|
public void | setVerifier(java.lang.String v)Modify the Verifier of the Element module-log-levels
setAttributeValue(ServerTags.VERIFIER, v);
|
public void | setWebContainer(java.lang.String v, boolean overwrite)Modify the WebContainer of the Element module-log-levels
setAttributeValue(ServerTags.WEB_CONTAINER, v, overwrite);
|
public void | setWebContainer(java.lang.String v)Modify the WebContainer of the Element module-log-levels
setAttributeValue(ServerTags.WEB_CONTAINER, v);
|
public int | sizeElementProperty()
return this.size(ELEMENT_PROPERTY);
|
public void | validate()
|