public PmiModuleConfig copy() {
        PmiModuleConfig r = new PmiModuleConfig(UID);

        // Only description is translatable
        if (description != null)
            r.description = new String(description);

        r.mbeanType = mbeanType;
        r.statsNLSFile = statsNLSFile;
        r.hasSubMod = hasSubMod;
        r.dependList = dependList;

        if (perfData != null) {
            Iterator allData = perfData.values().iterator();
            while (allData.hasNext()) {
                PmiDataInfo dataInfo = (PmiDataInfo) allData.next();
                r.perfData.put(new Integer(dataInfo.getId()), dataInfo.copy());
            }
        }

        return r;
    }
public PmiModuleConfig copy ( ) { PmiModuleConfig r = new PmiModuleConfig ( UID ) ; if ( description != null ) r . description = new String ( description ) ; r . mbeanType = mbeanType ; r . statsNLSFile = statsNLSFile ; r . hasSubMod = hasSubMod ; r . dependList = dependList ; if ( perfData != null ) { Iterator allData = perfData . values ( ) . iterator ( ) ; while ( allData . hasNext ( ) ) { PmiDataInfo dataInfo = ( PmiDataInfo ) allData . next ( ) ; r . perfData . put ( new Integer ( dataInfo . getId ( ) ) , dataInfo . copy ( ) ) ; } } return r ; }
Creates a copy of this object

@return copy of this object