/** * Return the file extension string for this enumeration. */ public String getModuleExtension() { return (moduleExtension[getValue()]); }
/** * Return the string name of this CommandType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }
/** * Return the string name of this ActionType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }
/** * Return the string name of this DConfigBeanVersionType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }
/** * Return the string name of this DConfigBeanVersionType or the integer * value if outside the bounds of the table */ public String toString() { return (value >= 0 && value <= 3) ? getStringTable()[value] : String.valueOf(value); }
/** * Return the string name of this StateType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }
public static ArchiveType warType() { return getModuleType(ModuleType.WAR.toString()); }
/** * Return the string name of this ModuleType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }
/** * Returns 'true' if the configuration beans support the J2EE platform * version specified. It returns 'false' if the version is * not supported. * * @param version a DConfigBeanVersionType object representing the * J2EE platform version for which support is requested. * @return 'true' if the version is supported and 'false if not. */ public boolean isDConfigBeanVersionSupported(DConfigBeanVersionType version) { return version.getValue()==getDConfigBeanVersion().getValue(); }
/** * Return the file extension string for this enumeration. */ public String getModuleExtension() { return (moduleExtension[getValue()]); }
/** * Return the string name of this DConfigBeanVersionType or the integer * value if outside the bounds of the table */ public String toString() { return (value >= 0 && value <= 2) ? getStringTable()[value] : String.valueOf(value); }
/** * Return the string name of this StateType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }
/** * Return the string name of this CommandType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }
/** * Return the string name of this ActionType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }
/** * Return the string name of this ModuleType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }
/** * Returns 'true' if the configuration beans support the J2EE platform * version specified. It returns 'false' if the version is * not supported. * * @param version a DConfigBeanVersionType object representing the * J2EE platform version for which support is requested. * @return 'true' if the version is supported and 'false if not. */ public boolean isDConfigBeanVersionSupported(DConfigBeanVersionType version) { return version.getValue()==getDConfigBeanVersion().getValue(); }
/** * Return the file extension string for this enumeration. */ public String getModuleExtension() { return (moduleExtension[getValue()]); }
/** * Return the string name of this DConfigBeanVersionType or the integer * value if outside the bounds of the table */ public String toString() { return (value >= 0 && value <= 2) ? getStringTable()[value] : String.valueOf(value); }
/** * Return the string name of this StateType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }
@Override public int getValue() { return super.getValue(); } @Override